| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
110
|
25220
|
4359
-
4359
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
110
|
22875
|
4330
-
5197
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalServiceComponent.this.userService.retrieveOrCreateVirtualUser(author, country).flatMap[org.make.core.proposal.ProposalId](((user: org.make.core.user.User) => DefaultProposalService.this.buildRequestContext(user, country, question, moderatorRequestContext).flatMap[org.make.core.proposal.ProposalId](((requestContext: org.make.core.RequestContext) => DefaultProposalService.this.propose(user, requestContext, org.make.core.DateHelper.now(), content, question, isAnonymous, true, submittedAsLanguage, org.make.core.proposal.ProposalType.ProposalTypeInitial).flatMap[org.make.core.proposal.ProposalId](((proposalId: org.make.core.proposal.ProposalId) => DefaultProposalService.this.validateProposal(proposalId, moderator, moderatorRequestContext, question, scala.None, contentTranslations, false, tags).map[org.make.core.proposal.ProposalId](((x$1: Option[org.make.api.proposal.ModerationProposalResponse]) => (x$1: Option[org.make.api.proposal.ModerationProposalResponse] @unchecked) match {
case _ => proposalId
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
111
|
26242
|
4427
-
5197
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalService.this.buildRequestContext(user, country, question, moderatorRequestContext).flatMap[org.make.core.proposal.ProposalId](((requestContext: org.make.core.RequestContext) => DefaultProposalService.this.propose(user, requestContext, org.make.core.DateHelper.now(), content, question, isAnonymous, true, submittedAsLanguage, org.make.core.proposal.ProposalType.ProposalTypeInitial).flatMap[org.make.core.proposal.ProposalId](((proposalId: org.make.core.proposal.ProposalId) => DefaultProposalService.this.validateProposal(proposalId, moderator, moderatorRequestContext, question, scala.None, contentTranslations, false, tags).map[org.make.core.proposal.ProposalId](((x$1: Option[org.make.api.proposal.ModerationProposalResponse]) => (x$1: Option[org.make.api.proposal.ModerationProposalResponse] @unchecked) match {
case _ => proposalId
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
111
|
22551
|
4442
-
4442
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
112
|
24738
|
4523
-
5197
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalService.this.propose(user, requestContext, org.make.core.DateHelper.now(), content, question, isAnonymous, true, submittedAsLanguage, org.make.core.proposal.ProposalType.ProposalTypeInitial).flatMap[org.make.core.proposal.ProposalId](((proposalId: org.make.core.proposal.ProposalId) => DefaultProposalService.this.validateProposal(proposalId, moderator, moderatorRequestContext, question, scala.None, contentTranslations, false, tags).map[org.make.core.proposal.ProposalId](((x$1: Option[org.make.api.proposal.ModerationProposalResponse]) => (x$1: Option[org.make.api.proposal.ModerationProposalResponse] @unchecked) match {
case _ => proposalId
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
112
|
26778
|
4534
-
4534
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
115
|
22538
|
4598
-
4614
|
Apply
|
org.make.core.DefaultDateHelper.now
|
|
org.make.core.DateHelper.now()
|
|
119
|
26182
|
4706
-
4710
|
Literal
|
<nosymbol>
|
|
true
|
|
121
|
24901
|
4790
-
4822
|
Select
|
org.make.core.proposal.ProposalType.ProposalTypeInitial
|
|
org.make.core.proposal.ProposalType.ProposalTypeInitial
|
|
123
|
23335
|
4841
-
5197
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultProposalService.this.validateProposal(proposalId, moderator, moderatorRequestContext, question, scala.None, contentTranslations, false, tags).map[org.make.core.proposal.ProposalId](((x$1: Option[org.make.api.proposal.ModerationProposalResponse]) => (x$1: Option[org.make.api.proposal.ModerationProposalResponse] @unchecked) match {
case _ => proposalId
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
123
|
24427
|
4843
-
4843
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
128
|
23016
|
5038
-
5042
|
Select
|
scala.None
|
|
scala.None
|
|
130
|
26685
|
5134
-
5139
|
Literal
|
<nosymbol>
|
|
false
|
|
152
|
27135
|
5738
-
5738
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
152
|
24682
|
5709
-
6603
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalServiceComponent.this.userService.retrieveOrCreateExternalUser(email, author, country, lineNumber).flatMap[org.make.core.proposal.ProposalId](((user: org.make.core.user.User) => DefaultProposalService.this.buildRequestContext(user, country, question, moderatorRequestContext).flatMap[org.make.core.proposal.ProposalId](((requestContext: org.make.core.RequestContext) => DefaultProposalService.this.propose(user, requestContext, org.make.core.DateHelper.now(), content, question, isAnonymous, false, submittedAsLanguage, org.make.core.proposal.ProposalType.ProposalTypeExternal).flatMap[org.make.core.proposal.ProposalId](((proposalId: org.make.core.proposal.ProposalId) => DefaultProposalService.this.validateProposal(proposalId, moderator, moderatorRequestContext, question, scala.None, contentTranslations, false, scala.`package`.Seq.empty[Nothing]).map[org.make.core.proposal.ProposalId](((x$2: Option[org.make.api.proposal.ModerationProposalResponse]) => (x$2: Option[org.make.api.proposal.ModerationProposalResponse] @unchecked) match {
case _ => proposalId
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
153
|
24278
|
5841
-
5841
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
153
|
28034
|
5826
-
6603
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalService.this.buildRequestContext(user, country, question, moderatorRequestContext).flatMap[org.make.core.proposal.ProposalId](((requestContext: org.make.core.RequestContext) => DefaultProposalService.this.propose(user, requestContext, org.make.core.DateHelper.now(), content, question, isAnonymous, false, submittedAsLanguage, org.make.core.proposal.ProposalType.ProposalTypeExternal).flatMap[org.make.core.proposal.ProposalId](((proposalId: org.make.core.proposal.ProposalId) => DefaultProposalService.this.validateProposal(proposalId, moderator, moderatorRequestContext, question, scala.None, contentTranslations, false, scala.`package`.Seq.empty[Nothing]).map[org.make.core.proposal.ProposalId](((x$2: Option[org.make.api.proposal.ModerationProposalResponse]) => (x$2: Option[org.make.api.proposal.ModerationProposalResponse] @unchecked) match {
case _ => proposalId
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
154
|
22808
|
5933
-
5933
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
154
|
26623
|
5922
-
6603
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalService.this.propose(user, requestContext, org.make.core.DateHelper.now(), content, question, isAnonymous, false, submittedAsLanguage, org.make.core.proposal.ProposalType.ProposalTypeExternal).flatMap[org.make.core.proposal.ProposalId](((proposalId: org.make.core.proposal.ProposalId) => DefaultProposalService.this.validateProposal(proposalId, moderator, moderatorRequestContext, question, scala.None, contentTranslations, false, scala.`package`.Seq.empty[Nothing]).map[org.make.core.proposal.ProposalId](((x$2: Option[org.make.api.proposal.ModerationProposalResponse]) => (x$2: Option[org.make.api.proposal.ModerationProposalResponse] @unchecked) match {
case _ => proposalId
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
157
|
26613
|
5997
-
6013
|
Apply
|
org.make.core.DefaultDateHelper.now
|
|
org.make.core.DateHelper.now()
|
|
161
|
24438
|
6105
-
6110
|
Literal
|
<nosymbol>
|
|
false
|
|
163
|
23156
|
6190
-
6223
|
Select
|
org.make.core.proposal.ProposalType.ProposalTypeExternal
|
|
org.make.core.proposal.ProposalType.ProposalTypeExternal
|
|
165
|
25043
|
6242
-
6603
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultProposalService.this.validateProposal(proposalId, moderator, moderatorRequestContext, question, scala.None, contentTranslations, false, scala.`package`.Seq.empty[Nothing]).map[org.make.core.proposal.ProposalId](((x$2: Option[org.make.api.proposal.ModerationProposalResponse]) => (x$2: Option[org.make.api.proposal.ModerationProposalResponse] @unchecked) match {
case _ => proposalId
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
165
|
26166
|
6244
-
6244
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
170
|
27085
|
6439
-
6443
|
Select
|
scala.None
|
|
scala.None
|
|
172
|
24747
|
6535
-
6540
|
Literal
|
<nosymbol>
|
|
false
|
|
173
|
22473
|
6559
-
6568
|
TypeApply
|
scala.collection.SeqFactory.Delegate.empty
|
|
scala.`package`.Seq.empty[Nothing]
|
|
183
|
24368
|
6785
-
7303
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[org.make.core.RequestContext]({
<artifact> val x$4: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](user.userId);
<artifact> val x$5: Some[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Country](country);
<artifact> val x$6: org.make.core.RequestContextQuestion = {
<artifact> val x$1: Some[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.question.QuestionId](question.questionId);
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.RequestContextQuestion.apply$default$1;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.RequestContextQuestion.apply$default$2;
org.make.core.RequestContextQuestion.apply(x$2, x$3, x$1)
};
<artifact> val x$7: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(org.make.core.BusinessConfig.supportedCountries.collectFirst[org.make.core.reference.Language](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[org.make.core.CountryConfiguration,org.make.core.reference.Language] with java.io.Serializable {
def <init>(): <$anon: org.make.core.CountryConfiguration => org.make.core.reference.Language> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: org.make.core.CountryConfiguration, B1 >: org.make.core.reference.Language](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[org.make.core.CountryConfiguration]: org.make.core.CountryConfiguration): org.make.core.CountryConfiguration @unchecked) match {
case (countryCode: org.make.core.reference.Country, defaultLanguage: org.make.core.reference.Language, supportedLanguages: Seq[org.make.core.reference.Language]): org.make.core.CountryConfiguration(`country`, (language @ _), _) => language
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: org.make.core.CountryConfiguration): Boolean = ((x1.asInstanceOf[org.make.core.CountryConfiguration]: org.make.core.CountryConfiguration): org.make.core.CountryConfiguration @unchecked) match {
case (countryCode: org.make.core.reference.Country, defaultLanguage: org.make.core.reference.Language, supportedLanguages: Seq[org.make.core.reference.Language]): org.make.core.CountryConfiguration(`country`, (language @ _), _) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[org.make.core.CountryConfiguration,org.make.core.reference.Language])), org.make.core.RequestContextLanguage.apply$default$2, org.make.core.RequestContextLanguage.apply$default$3, org.make.core.RequestContextLanguage.apply$default$4);
<artifact> val x$8: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = question.operationId;
<artifact> val x$9: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = requestContext.applicationName;
<artifact> val x$10: String = org.make.core.RequestContext.empty.copy$default$2;
<artifact> val x$11: org.make.core.session.SessionId = org.make.core.RequestContext.empty.copy$default$3;
<artifact> val x$12: Option[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.RequestContext.empty.copy$default$4;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.RequestContext.empty.copy$default$5;
<artifact> val x$14: String = org.make.core.RequestContext.empty.copy$default$6;
<artifact> val x$15: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.RequestContext.empty.copy$default$8;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.RequestContext.empty.copy$default$11;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.RequestContext.empty.copy$default$12;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.RequestContext.empty.copy$default$14;
<artifact> val x$19: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.RequestContext.empty.copy$default$15;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.RequestContext.empty.copy$default$16;
<artifact> val x$21: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.RequestContext.empty.copy$default$17;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.RequestContext.empty.copy$default$18;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.RequestContext.empty.copy$default$20;
<artifact> val x$24: Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.RequestContext.empty.copy$default$21;
org.make.core.RequestContext.empty.copy(x$4, x$10, x$11, x$12, x$13, x$14, x$5, x$15, x$7, x$8, x$16, x$17, x$6, x$18, x$19, x$20, x$21, x$22, x$9, x$23, x$24)
})
|
|
184
|
26257
|
6831
-
6831
|
Select
|
org.make.core.RequestContext.copy$default$18
|
|
org.make.core.RequestContext.empty.copy$default$18
|
|
184
|
24086
|
6831
-
6831
|
Select
|
org.make.core.RequestContext.copy$default$20
|
|
org.make.core.RequestContext.empty.copy$default$20
|
|
184
|
26116
|
6831
-
6831
|
Select
|
org.make.core.RequestContext.copy$default$5
|
|
org.make.core.RequestContext.empty.copy$default$5
|
|
184
|
24073
|
6831
-
6831
|
Select
|
org.make.core.RequestContext.copy$default$6
|
|
org.make.core.RequestContext.empty.copy$default$6
|
|
184
|
26558
|
6810
-
7297
|
Apply
|
org.make.core.RequestContext.copy
|
|
org.make.core.RequestContext.empty.copy(x$4, x$10, x$11, x$12, x$13, x$14, x$5, x$15, x$7, x$8, x$16, x$17, x$6, x$18, x$19, x$20, x$21, x$22, x$9, x$23, x$24)
|
|
184
|
22467
|
6831
-
6831
|
Select
|
org.make.core.RequestContext.copy$default$4
|
|
org.make.core.RequestContext.empty.copy$default$4
|
|
184
|
24524
|
6831
-
6831
|
Select
|
org.make.core.RequestContext.copy$default$3
|
|
org.make.core.RequestContext.empty.copy$default$3
|
|
184
|
27021
|
6831
-
6831
|
Select
|
org.make.core.RequestContext.copy$default$15
|
|
org.make.core.RequestContext.empty.copy$default$15
|
|
184
|
22957
|
6831
-
6831
|
Select
|
org.make.core.RequestContext.copy$default$8
|
|
org.make.core.RequestContext.empty.copy$default$8
|
|
184
|
27978
|
6831
-
6831
|
Select
|
org.make.core.RequestContext.copy$default$14
|
|
org.make.core.RequestContext.empty.copy$default$14
|
|
184
|
22478
|
6831
-
6831
|
Select
|
org.make.core.RequestContext.copy$default$17
|
|
org.make.core.RequestContext.empty.copy$default$17
|
|
184
|
27080
|
6831
-
6831
|
Select
|
org.make.core.RequestContext.copy$default$2
|
|
org.make.core.RequestContext.empty.copy$default$2
|
|
184
|
24831
|
6831
-
6831
|
Select
|
org.make.core.RequestContext.copy$default$16
|
|
org.make.core.RequestContext.empty.copy$default$16
|
|
184
|
22965
|
6831
-
6831
|
Select
|
org.make.core.RequestContext.copy$default$21
|
|
org.make.core.RequestContext.empty.copy$default$21
|
|
184
|
24358
|
6831
-
6831
|
Select
|
org.make.core.RequestContext.copy$default$12
|
|
org.make.core.RequestContext.empty.copy$default$12
|
|
184
|
26619
|
6831
-
6831
|
Select
|
org.make.core.RequestContext.copy$default$11
|
|
org.make.core.RequestContext.empty.copy$default$11
|
|
185
|
22484
|
6859
-
6870
|
Select
|
org.make.core.user.User.userId
|
|
user.userId
|
|
185
|
26177
|
6854
-
6871
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.user.UserId](user.userId)
|
|
186
|
24969
|
6891
-
6904
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.reference.Country](country)
|
|
187
|
28050
|
6932
-
6932
|
Select
|
org.make.core.RequestContextQuestion.apply$default$2
|
|
org.make.core.RequestContextQuestion.apply$default$2
|
|
187
|
27072
|
6932
-
6994
|
Apply
|
org.make.core.RequestContextQuestion.apply
|
|
org.make.core.RequestContextQuestion.apply(x$2, x$3, x$1)
|
|
187
|
24216
|
6932
-
6932
|
Select
|
org.make.core.RequestContextQuestion.apply$default$1
|
|
org.make.core.RequestContextQuestion.apply$default$1
|
|
187
|
26635
|
6968
-
6993
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.question.QuestionId](question.questionId)
|
|
187
|
23010
|
6973
-
6992
|
Select
|
org.make.core.question.Question.questionId
|
|
question.questionId
|
|
188
|
22339
|
7056
-
7186
|
Apply
|
scala.collection.IterableOnceOps.collectFirst
|
|
org.make.core.BusinessConfig.supportedCountries.collectFirst[org.make.core.reference.Language](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[org.make.core.CountryConfiguration,org.make.core.reference.Language] with java.io.Serializable {
def <init>(): <$anon: org.make.core.CountryConfiguration => org.make.core.reference.Language> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: org.make.core.CountryConfiguration, B1 >: org.make.core.reference.Language](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[org.make.core.CountryConfiguration]: org.make.core.CountryConfiguration): org.make.core.CountryConfiguration @unchecked) match {
case (countryCode: org.make.core.reference.Country, defaultLanguage: org.make.core.reference.Language, supportedLanguages: Seq[org.make.core.reference.Language]): org.make.core.CountryConfiguration(`country`, (language @ _), _) => language
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: org.make.core.CountryConfiguration): Boolean = ((x1.asInstanceOf[org.make.core.CountryConfiguration]: org.make.core.CountryConfiguration): org.make.core.CountryConfiguration @unchecked) match {
case (countryCode: org.make.core.reference.Country, defaultLanguage: org.make.core.reference.Language, supportedLanguages: Seq[org.make.core.reference.Language]): org.make.core.CountryConfiguration(`country`, (language @ _), _) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[org.make.core.CountryConfiguration,org.make.core.reference.Language]))
|
|
188
|
26774
|
7022
-
7187
|
Apply
|
org.make.core.RequestContextLanguage.apply
|
|
org.make.core.RequestContextLanguage.apply(org.make.core.BusinessConfig.supportedCountries.collectFirst[org.make.core.reference.Language](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[org.make.core.CountryConfiguration,org.make.core.reference.Language] with java.io.Serializable {
def <init>(): <$anon: org.make.core.CountryConfiguration => org.make.core.reference.Language> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: org.make.core.CountryConfiguration, B1 >: org.make.core.reference.Language](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[org.make.core.CountryConfiguration]: org.make.core.CountryConfiguration): org.make.core.CountryConfiguration @unchecked) match {
case (countryCode: org.make.core.reference.Country, defaultLanguage: org.make.core.reference.Language, supportedLanguages: Seq[org.make.core.reference.Language]): org.make.core.CountryConfiguration(`country`, (language @ _), _) => language
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: org.make.core.CountryConfiguration): Boolean = ((x1.asInstanceOf[org.make.core.CountryConfiguration]: org.make.core.CountryConfiguration): org.make.core.CountryConfiguration @unchecked) match {
case (countryCode: org.make.core.reference.Country, defaultLanguage: org.make.core.reference.Language, supportedLanguages: Seq[org.make.core.reference.Language]): org.make.core.CountryConfiguration(`country`, (language @ _), _) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[org.make.core.CountryConfiguration,org.make.core.reference.Language])), org.make.core.RequestContextLanguage.apply$default$2, org.make.core.RequestContextLanguage.apply$default$3, org.make.core.RequestContextLanguage.apply$default$4)
|
|
188
|
22943
|
7022
-
7022
|
Select
|
org.make.core.RequestContextLanguage.apply$default$4
|
|
org.make.core.RequestContextLanguage.apply$default$4
|
|
188
|
24895
|
7103
-
7103
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.$anonfun.<init>
|
|
new $anonfun()
|
|
188
|
26102
|
7022
-
7022
|
Select
|
org.make.core.RequestContextLanguage.apply$default$2
|
|
org.make.core.RequestContextLanguage.apply$default$2
|
|
188
|
23943
|
7022
-
7022
|
Select
|
org.make.core.RequestContextLanguage.apply$default$3
|
|
org.make.core.RequestContextLanguage.apply$default$3
|
|
191
|
24225
|
7211
-
7231
|
Select
|
org.make.core.question.Question.operationId
|
|
question.operationId
|
|
192
|
27967
|
7259
-
7289
|
Select
|
org.make.core.RequestContext.applicationName
|
|
requestContext.applicationName
|
|
208
|
23938
|
7784
-
8098
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalServiceComponent.this.userHistoryCoordinatorService.retrieveVotedProposals(org.make.api.userhistory.RequestUserVotedProposals.apply(userId, filterVotes, filterQualifications, org.make.api.userhistory.RequestUserVotedProposals.apply$default$4)).flatMap[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](((proposalIds: Seq[org.make.core.proposal.ProposalId]) => DefaultProposalServiceComponent.this.userHistoryCoordinatorService.retrieveVoteAndQualifications(userId, proposalIds).map[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](((withVote: Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]) => withVote))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
208
|
26267
|
7812
-
7812
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
209
|
27953
|
7881
-
7881
|
Select
|
org.make.api.userhistory.RequestUserVotedProposals.apply$default$4
|
org.make.api.proposal.proposalservicetest
|
org.make.api.userhistory.RequestUserVotedProposals.apply$default$4
|
|
209
|
25964
|
7881
-
7958
|
Apply
|
org.make.api.userhistory.RequestUserVotedProposals.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.api.userhistory.RequestUserVotedProposals.apply(userId, filterVotes, filterQualifications, org.make.api.userhistory.RequestUserVotedProposals.apply$default$4)
|
|
211
|
24692
|
7990
-
7990
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
211
|
22409
|
7981
-
8098
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultProposalServiceComponent.this.userHistoryCoordinatorService.retrieveVoteAndQualifications(userId, proposalIds).map[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](((withVote: Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]) => withVote))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
214
|
28210
|
8129
-
8129
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
215
|
22897
|
8168
-
8196
|
Select
|
scala.collection.IterableOnceOps.isEmpty
|
|
proposalIdsWithVotes.isEmpty
|
|
216
|
26568
|
8229
-
8231
|
Literal
|
<nosymbol>
|
|
0L
|
|
216
|
25823
|
8210
-
8244
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[(Long, Seq[Nothing])](scala.Tuple2.apply[Long, Seq[Nothing]](0L, scala.`package`.Seq.empty[Nothing]))
|
|
216
|
27963
|
8228
-
8243
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[Long, Seq[Nothing]](0L, scala.`package`.Seq.empty[Nothing])
|
|
216
|
24296
|
8233
-
8242
|
TypeApply
|
scala.collection.SeqFactory.Delegate.empty
|
|
scala.`package`.Seq.empty[Nothing]
|
|
220
|
24626
|
8508
-
8539
|
Select
|
org.make.core.history.HistoryActions.VoteAndQualifications.date
|
|
nextVotesAndQualifications.date
|
|
220
|
22421
|
8467
-
8540
|
Apply
|
java.time.chrono.ChronoZonedDateTime.isAfter
|
|
firstVotesAndQualifications.date.isAfter(nextVotesAndQualifications.date)
|
|
221
|
26036
|
8327
-
8617
|
Apply
|
scala.collection.IterableOps.map
|
|
proposalIdsWithVotes.toSeq.sortWith(((x0$2: (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications), x1$1: (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)) => scala.Tuple2.apply[(org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications), (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)](x0$2, x1$1) match {
case (_1: (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications), _2: (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)): ((org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications), (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications))((_1: org.make.core.proposal.ProposalId, _2: org.make.core.history.HistoryActions.VoteAndQualifications): (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)(_, (firstVotesAndQualifications @ _)), (_1: org.make.core.proposal.ProposalId, _2: org.make.core.history.HistoryActions.VoteAndQualifications): (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)(_, (nextVotesAndQualifications @ _))) => firstVotesAndQualifications.date.isAfter(nextVotesAndQualifications.date)
})).map[org.make.core.proposal.ProposalId](((x0$3: (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)) => x0$3 match {
case (_1: org.make.core.proposal.ProposalId, _2: org.make.core.history.HistoryActions.VoteAndQualifications): (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)((proposalId @ _), _) => proposalId
}))
|
|
226
|
23855
|
8686
-
8698
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.user.UserId](userId)
|
|
227
|
26511
|
8714
-
8947
|
Apply
|
org.make.core.proposal.SearchQuery.apply
|
|
org.make.core.proposal.SearchQuery.apply(x$1, x$5, x$2, x$3, x$4, x$6, x$7)
|
|
227
|
23774
|
8714
-
8714
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$6
|
|
org.make.core.proposal.SearchQuery.apply$default$6
|
|
227
|
26196
|
8714
-
8714
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$2
|
|
org.make.core.proposal.SearchQuery.apply$default$2
|
|
227
|
27757
|
8714
-
8714
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$7
|
|
org.make.core.proposal.SearchQuery.apply$default$7
|
|
228
|
23697
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$23
|
|
org.make.core.proposal.SearchFilters.apply$default$23
|
|
228
|
23787
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$17
|
|
org.make.core.proposal.SearchFilters.apply$default$17
|
|
228
|
27806
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$9
|
|
org.make.core.proposal.SearchFilters.apply$default$9
|
|
228
|
27914
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$21
|
|
org.make.core.proposal.SearchFilters.apply$default$21
|
|
228
|
27818
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$18
|
|
org.make.core.proposal.SearchFilters.apply$default$18
|
|
228
|
26634
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$19
|
|
org.make.core.proposal.SearchFilters.apply$default$19
|
|
228
|
24301
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$29
|
|
org.make.core.proposal.SearchFilters.apply$default$29
|
|
228
|
25910
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$31
|
|
org.make.core.proposal.SearchFilters.apply$default$31
|
|
228
|
27749
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$27
|
|
org.make.core.proposal.SearchFilters.apply$default$27
|
|
228
|
24304
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$2
|
|
org.make.core.proposal.SearchFilters.apply$default$2
|
|
228
|
26188
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$25
|
|
org.make.core.proposal.SearchFilters.apply$default$25
|
|
228
|
28057
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$30
|
|
org.make.core.proposal.SearchFilters.apply$default$30
|
|
228
|
24758
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$14
|
|
org.make.core.proposal.SearchFilters.apply$default$14
|
|
228
|
26705
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$10
|
|
org.make.core.proposal.SearchFilters.apply$default$10
|
|
228
|
23870
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$8
|
|
org.make.core.proposal.SearchFilters.apply$default$8
|
|
228
|
27973
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$3
|
|
org.make.core.proposal.SearchFilters.apply$default$3
|
|
228
|
26053
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$16
|
|
org.make.core.proposal.SearchFilters.apply$default$16
|
|
228
|
22350
|
8753
-
8838
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.proposal.SearchFilters](org.make.core.proposal.SearchFilters.apply(scala.Some.apply[org.make.core.proposal.ProposalSearchFilter](org.make.core.proposal.ProposalSearchFilter.apply(proposalIds)), org.make.core.proposal.SearchFilters.apply$default$2, org.make.core.proposal.SearchFilters.apply$default$3, org.make.core.proposal.SearchFilters.apply$default$4, org.make.core.proposal.SearchFilters.apply$default$5, org.make.core.proposal.SearchFilters.apply$default$6, org.make.core.proposal.SearchFilters.apply$default$7, org.make.core.proposal.SearchFilters.apply$default$8, org.make.core.proposal.SearchFilters.apply$default$9, org.make.core.proposal.SearchFilters.apply$default$10, org.make.core.proposal.SearchFilters.apply$default$11, org.make.core.proposal.SearchFilters.apply$default$12, org.make.core.proposal.SearchFilters.apply$default$13, org.make.core.proposal.SearchFilters.apply$default$14, org.make.core.proposal.SearchFilters.apply$default$15, org.make.core.proposal.SearchFilters.apply$default$16, org.make.core.proposal.SearchFilters.apply$default$17, org.make.core.proposal.SearchFilters.apply$default$18, org.make.core.proposal.SearchFilters.apply$default$19, org.make.core.proposal.SearchFilters.apply$default$20, org.make.core.proposal.SearchFilters.apply$default$21, org.make.core.proposal.SearchFilters.apply$default$22, org.make.core.proposal.SearchFilters.apply$default$23, org.make.core.proposal.SearchFilters.apply$default$24, org.make.core.proposal.SearchFilters.apply$default$25, org.make.core.proposal.SearchFilters.apply$default$26, org.make.core.proposal.SearchFilters.apply$default$27, org.make.core.proposal.SearchFilters.apply$default$28, org.make.core.proposal.SearchFilters.apply$default$29, org.make.core.proposal.SearchFilters.apply$default$30, org.make.core.proposal.SearchFilters.apply$default$31))
|
|
228
|
25903
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$22
|
|
org.make.core.proposal.SearchFilters.apply$default$22
|
|
228
|
23618
|
8758
-
8837
|
Apply
|
org.make.core.proposal.SearchFilters.apply
|
|
org.make.core.proposal.SearchFilters.apply(scala.Some.apply[org.make.core.proposal.ProposalSearchFilter](org.make.core.proposal.ProposalSearchFilter.apply(proposalIds)), org.make.core.proposal.SearchFilters.apply$default$2, org.make.core.proposal.SearchFilters.apply$default$3, org.make.core.proposal.SearchFilters.apply$default$4, org.make.core.proposal.SearchFilters.apply$default$5, org.make.core.proposal.SearchFilters.apply$default$6, org.make.core.proposal.SearchFilters.apply$default$7, org.make.core.proposal.SearchFilters.apply$default$8, org.make.core.proposal.SearchFilters.apply$default$9, org.make.core.proposal.SearchFilters.apply$default$10, org.make.core.proposal.SearchFilters.apply$default$11, org.make.core.proposal.SearchFilters.apply$default$12, org.make.core.proposal.SearchFilters.apply$default$13, org.make.core.proposal.SearchFilters.apply$default$14, org.make.core.proposal.SearchFilters.apply$default$15, org.make.core.proposal.SearchFilters.apply$default$16, org.make.core.proposal.SearchFilters.apply$default$17, org.make.core.proposal.SearchFilters.apply$default$18, org.make.core.proposal.SearchFilters.apply$default$19, org.make.core.proposal.SearchFilters.apply$default$20, org.make.core.proposal.SearchFilters.apply$default$21, org.make.core.proposal.SearchFilters.apply$default$22, org.make.core.proposal.SearchFilters.apply$default$23, org.make.core.proposal.SearchFilters.apply$default$24, org.make.core.proposal.SearchFilters.apply$default$25, org.make.core.proposal.SearchFilters.apply$default$26, org.make.core.proposal.SearchFilters.apply$default$27, org.make.core.proposal.SearchFilters.apply$default$28, org.make.core.proposal.SearchFilters.apply$default$29, org.make.core.proposal.SearchFilters.apply$default$30, org.make.core.proposal.SearchFilters.apply$default$31)
|
|
228
|
22353
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$6
|
|
org.make.core.proposal.SearchFilters.apply$default$6
|
|
228
|
25960
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$13
|
|
org.make.core.proposal.SearchFilters.apply$default$13
|
|
228
|
22571
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$15
|
|
org.make.core.proposal.SearchFilters.apply$default$15
|
|
228
|
27903
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$12
|
|
org.make.core.proposal.SearchFilters.apply$default$12
|
|
228
|
24826
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$5
|
|
org.make.core.proposal.SearchFilters.apply$default$5
|
|
228
|
26046
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$7
|
|
org.make.core.proposal.SearchFilters.apply$default$7
|
|
228
|
25744
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$4
|
|
org.make.core.proposal.SearchFilters.apply$default$4
|
|
228
|
24174
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$11
|
|
org.make.core.proposal.SearchFilters.apply$default$11
|
|
228
|
22418
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$24
|
|
org.make.core.proposal.SearchFilters.apply$default$24
|
|
228
|
26503
|
8783
-
8836
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.proposal.ProposalSearchFilter](org.make.core.proposal.ProposalSearchFilter.apply(proposalIds))
|
|
228
|
24290
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$20
|
|
org.make.core.proposal.SearchFilters.apply$default$20
|
|
228
|
22953
|
8788
-
8835
|
Apply
|
org.make.core.proposal.ProposalSearchFilter.apply
|
|
org.make.core.proposal.ProposalSearchFilter.apply(proposalIds)
|
|
228
|
23802
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$26
|
|
org.make.core.proposal.SearchFilters.apply$default$26
|
|
228
|
26646
|
8758
-
8758
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$28
|
|
org.make.core.proposal.SearchFilters.apply$default$28
|
|
235
|
24236
|
9052
-
9056
|
Select
|
scala.None
|
|
scala.None
|
|
237
|
24250
|
8628
-
9400
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultProposalServiceComponent.this.proposalService.searchForUser(scala.Some.apply[org.make.core.user.UserId](userId), {
<artifact> val x$1: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters](org.make.core.proposal.SearchFilters.apply(scala.Some.apply[org.make.core.proposal.ProposalSearchFilter](org.make.core.proposal.ProposalSearchFilter.apply(proposalIds)), org.make.core.proposal.SearchFilters.apply$default$2, org.make.core.proposal.SearchFilters.apply$default$3, org.make.core.proposal.SearchFilters.apply$default$4, org.make.core.proposal.SearchFilters.apply$default$5, org.make.core.proposal.SearchFilters.apply$default$6, org.make.core.proposal.SearchFilters.apply$default$7, org.make.core.proposal.SearchFilters.apply$default$8, org.make.core.proposal.SearchFilters.apply$default$9, org.make.core.proposal.SearchFilters.apply$default$10, org.make.core.proposal.SearchFilters.apply$default$11, org.make.core.proposal.SearchFilters.apply$default$12, org.make.core.proposal.SearchFilters.apply$default$13, org.make.core.proposal.SearchFilters.apply$default$14, org.make.core.proposal.SearchFilters.apply$default$15, org.make.core.proposal.SearchFilters.apply$default$16, org.make.core.proposal.SearchFilters.apply$default$17, org.make.core.proposal.SearchFilters.apply$default$18, org.make.core.proposal.SearchFilters.apply$default$19, org.make.core.proposal.SearchFilters.apply$default$20, org.make.core.proposal.SearchFilters.apply$default$21, org.make.core.proposal.SearchFilters.apply$default$22, org.make.core.proposal.SearchFilters.apply$default$23, org.make.core.proposal.SearchFilters.apply$default$24, org.make.core.proposal.SearchFilters.apply$default$25, org.make.core.proposal.SearchFilters.apply$default$26, org.make.core.proposal.SearchFilters.apply$default$27, org.make.core.proposal.SearchFilters.apply$default$28, org.make.core.proposal.SearchFilters.apply$default$29, org.make.core.proposal.SearchFilters.apply$default$30, org.make.core.proposal.SearchFilters.apply$default$31));
<artifact> val x$2: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = sort;
<artifact> val x$3: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit;
<artifact> val x$4: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset;
<artifact> val x$5: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$6: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
<artifact> val x$7: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$1, x$5, x$2, x$3, x$4, x$6, x$7)
}, requestContext, preferredLanguage, scala.None).map[(Long, Seq[org.make.api.proposal.ProposalResponse])](((proposalResultSeededResponse: org.make.api.proposal.ProposalsResultSeededResponse) => {
val proposalResult: Seq[org.make.api.proposal.ProposalResponse] = proposalResultSeededResponse.results.sortWith(((x0$4: org.make.api.proposal.ProposalResponse, x1$2: org.make.api.proposal.ProposalResponse) => scala.Tuple2.apply[org.make.api.proposal.ProposalResponse, org.make.api.proposal.ProposalResponse](x0$4, x1$2) match {
case (_1: org.make.api.proposal.ProposalResponse, _2: org.make.api.proposal.ProposalResponse): (org.make.api.proposal.ProposalResponse, org.make.api.proposal.ProposalResponse)((first @ _), (next @ _)) => proposalIds.indexOf[org.make.core.proposal.ProposalId](first.id).<(proposalIds.indexOf[org.make.core.proposal.ProposalId](next.id))
}));
scala.Tuple2.apply[Long, Seq[org.make.api.proposal.ProposalResponse]](proposalResultSeededResponse.total, proposalResult)
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
237
|
25362
|
9088
-
9088
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
238
|
26129
|
9157
-
9319
|
Apply
|
scala.collection.SeqOps.sortWith
|
|
proposalResultSeededResponse.results.sortWith(((x0$4: org.make.api.proposal.ProposalResponse, x1$2: org.make.api.proposal.ProposalResponse) => scala.Tuple2.apply[org.make.api.proposal.ProposalResponse, org.make.api.proposal.ProposalResponse](x0$4, x1$2) match {
case (_1: org.make.api.proposal.ProposalResponse, _2: org.make.api.proposal.ProposalResponse): (org.make.api.proposal.ProposalResponse, org.make.api.proposal.ProposalResponse)((first @ _), (next @ _)) => proposalIds.indexOf[org.make.core.proposal.ProposalId](first.id).<(proposalIds.indexOf[org.make.core.proposal.ProposalId](next.id))
}))
|
|
239
|
23630
|
9275
-
9303
|
Apply
|
scala.collection.SeqOps.indexOf
|
|
proposalIds.indexOf[org.make.core.proposal.ProposalId](next.id)
|
|
239
|
22358
|
9243
-
9303
|
Apply
|
scala.Int.<
|
|
proposalIds.indexOf[org.make.core.proposal.ProposalId](first.id).<(proposalIds.indexOf[org.make.core.proposal.ProposalId](next.id))
|
|
239
|
28067
|
9263
-
9271
|
Select
|
org.make.api.proposal.ProposalResponse.id
|
|
first.id
|
|
239
|
25659
|
9295
-
9302
|
Select
|
org.make.api.proposal.ProposalResponse.id
|
|
next.id
|
|
241
|
27611
|
9334
-
9386
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[Long, Seq[org.make.api.proposal.ProposalResponse]](proposalResultSeededResponse.total, proposalResult)
|
|
241
|
23783
|
9335
-
9369
|
Select
|
org.make.api.proposal.ProposalsResultSeededResponse.total
|
|
proposalResultSeededResponse.total
|
|
243
|
23690
|
9413
-
9413
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
243
|
22298
|
8106
-
9537
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
org.make.api.proposal.proposalservicetest
|
votedProposals.flatMap[(Long, Seq[org.make.api.proposal.ProposalResponse])](((x0$1: Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]) => x0$1 match {
case (proposalIdsWithVotes @ _) if proposalIdsWithVotes.isEmpty => scala.concurrent.Future.successful[(Long, Seq[Nothing])](scala.Tuple2.apply[Long, Seq[Nothing]](0L, scala.`package`.Seq.empty[Nothing]))
case (proposalIdsWithVotes @ _) => {
val proposalIds: Seq[org.make.core.proposal.ProposalId] = proposalIdsWithVotes.toSeq.sortWith(((x0$2: (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications), x1$1: (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)) => scala.Tuple2.apply[(org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications), (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)](x0$2, x1$1) match {
case (_1: (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications), _2: (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)): ((org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications), (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications))((_1: org.make.core.proposal.ProposalId, _2: org.make.core.history.HistoryActions.VoteAndQualifications): (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)(_, (firstVotesAndQualifications @ _)), (_1: org.make.core.proposal.ProposalId, _2: org.make.core.history.HistoryActions.VoteAndQualifications): (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)(_, (nextVotesAndQualifications @ _))) => firstVotesAndQualifications.date.isAfter(nextVotesAndQualifications.date)
})).map[org.make.core.proposal.ProposalId](((x0$3: (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)) => x0$3 match {
case (_1: org.make.core.proposal.ProposalId, _2: org.make.core.history.HistoryActions.VoteAndQualifications): (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)((proposalId @ _), _) => proposalId
}));
DefaultProposalServiceComponent.this.proposalService.searchForUser(scala.Some.apply[org.make.core.user.UserId](userId), {
<artifact> val x$1: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters](org.make.core.proposal.SearchFilters.apply(scala.Some.apply[org.make.core.proposal.ProposalSearchFilter](org.make.core.proposal.ProposalSearchFilter.apply(proposalIds)), org.make.core.proposal.SearchFilters.apply$default$2, org.make.core.proposal.SearchFilters.apply$default$3, org.make.core.proposal.SearchFilters.apply$default$4, org.make.core.proposal.SearchFilters.apply$default$5, org.make.core.proposal.SearchFilters.apply$default$6, org.make.core.proposal.SearchFilters.apply$default$7, org.make.core.proposal.SearchFilters.apply$default$8, org.make.core.proposal.SearchFilters.apply$default$9, org.make.core.proposal.SearchFilters.apply$default$10, org.make.core.proposal.SearchFilters.apply$default$11, org.make.core.proposal.SearchFilters.apply$default$12, org.make.core.proposal.SearchFilters.apply$default$13, org.make.core.proposal.SearchFilters.apply$default$14, org.make.core.proposal.SearchFilters.apply$default$15, org.make.core.proposal.SearchFilters.apply$default$16, org.make.core.proposal.SearchFilters.apply$default$17, org.make.core.proposal.SearchFilters.apply$default$18, org.make.core.proposal.SearchFilters.apply$default$19, org.make.core.proposal.SearchFilters.apply$default$20, org.make.core.proposal.SearchFilters.apply$default$21, org.make.core.proposal.SearchFilters.apply$default$22, org.make.core.proposal.SearchFilters.apply$default$23, org.make.core.proposal.SearchFilters.apply$default$24, org.make.core.proposal.SearchFilters.apply$default$25, org.make.core.proposal.SearchFilters.apply$default$26, org.make.core.proposal.SearchFilters.apply$default$27, org.make.core.proposal.SearchFilters.apply$default$28, org.make.core.proposal.SearchFilters.apply$default$29, org.make.core.proposal.SearchFilters.apply$default$30, org.make.core.proposal.SearchFilters.apply$default$31));
<artifact> val x$2: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = sort;
<artifact> val x$3: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit;
<artifact> val x$4: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset;
<artifact> val x$5: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$6: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
<artifact> val x$7: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$1, x$5, x$2, x$3, x$4, x$6, x$7)
}, requestContext, preferredLanguage, scala.None).map[(Long, Seq[org.make.api.proposal.ProposalResponse])](((proposalResultSeededResponse: org.make.api.proposal.ProposalsResultSeededResponse) => {
val proposalResult: Seq[org.make.api.proposal.ProposalResponse] = proposalResultSeededResponse.results.sortWith(((x0$4: org.make.api.proposal.ProposalResponse, x1$2: org.make.api.proposal.ProposalResponse) => scala.Tuple2.apply[org.make.api.proposal.ProposalResponse, org.make.api.proposal.ProposalResponse](x0$4, x1$2) match {
case (_1: org.make.api.proposal.ProposalResponse, _2: org.make.api.proposal.ProposalResponse): (org.make.api.proposal.ProposalResponse, org.make.api.proposal.ProposalResponse)((first @ _), (next @ _)) => proposalIds.indexOf[org.make.core.proposal.ProposalId](first.id).<(proposalIds.indexOf[org.make.core.proposal.ProposalId](next.id))
}));
scala.Tuple2.apply[Long, Seq[org.make.api.proposal.ProposalResponse]](proposalResultSeededResponse.total, proposalResult)
}))(scala.concurrent.ExecutionContext.Implicits.global)
}
}))(scala.concurrent.ExecutionContext.Implicits.global).map[org.make.api.proposal.ProposalsResultResponse](((x0$5: (Long, Seq[org.make.api.proposal.ProposalResponse])) => x0$5 match {
case (_1: Long, _2: Seq[org.make.api.proposal.ProposalResponse]): (Long, Seq[org.make.api.proposal.ProposalResponse])((total @ _), (proposalResult @ _)) => ProposalsResultResponse.apply(total, proposalResult)
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
245
|
25674
|
9465
-
9529
|
Apply
|
org.make.api.proposal.ProposalsResultResponse.apply
|
|
ProposalsResultResponse.apply(total, proposalResult)
|
|
253
|
26141
|
9695
-
9762
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.viewProposal
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.viewProposal(proposalId, requestContext)
|
|
254
|
24095
|
9769
-
9822
|
Apply
|
org.make.api.proposal.ProposalSearchEngine.findProposalById
|
|
DefaultProposalServiceComponent.this.elasticsearchProposalAPI.findProposalById(proposalId)
|
|
261
|
22504
|
10081
-
10090
|
ApplyToImplicitArgs
|
scala.collection.IterableOps.flatten
|
|
x$3.flatten[org.make.core.proposal.indexed.IndexedProposal](scala.Predef.$conforms[Option[org.make.core.proposal.indexed.IndexedProposal]])
|
|
261
|
25581
|
10022
-
10057
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.getProposalById
|
|
DefaultProposalService.this.getProposalById(id, requestContext)
|
|
261
|
27534
|
10013
-
10014
|
Literal
|
<nosymbol>
|
|
5
|
|
261
|
28221
|
10066
-
10066
|
Select
|
org.make.api.technical.ActorSystemComponent.actorSystem
|
|
DefaultProposalServiceComponent.this.actorSystem
|
|
261
|
26298
|
10080
-
10080
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
261
|
23615
|
10083
-
10083
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[Option[org.make.core.proposal.indexed.IndexedProposal]]
|
|
261
|
25684
|
10066
-
10066
|
ApplyToImplicitArgs
|
akka.stream.Materializer.matFromSystem
|
|
stream.this.Materializer.matFromSystem(DefaultProposalServiceComponent.this.actorSystem)
|
|
261
|
24105
|
9984
-
10091
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
akka.stream.scaladsl.Source.apply[org.make.core.proposal.ProposalId](proposalIds).mapAsync[Option[org.make.core.proposal.indexed.IndexedProposal]](5)(((id: org.make.core.proposal.ProposalId) => DefaultProposalService.this.getProposalById(id, requestContext))).runWith[scala.concurrent.Future[Seq[Option[org.make.core.proposal.indexed.IndexedProposal]]]](akka.stream.scaladsl.Sink.seq[Option[org.make.core.proposal.indexed.IndexedProposal]])(stream.this.Materializer.matFromSystem(DefaultProposalServiceComponent.this.actorSystem)).map[Seq[org.make.core.proposal.indexed.IndexedProposal]](((x$3: Seq[Option[org.make.core.proposal.indexed.IndexedProposal]]) => x$3.flatten[org.make.core.proposal.indexed.IndexedProposal](scala.Predef.$conforms[Option[org.make.core.proposal.indexed.IndexedProposal]])))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
261
|
24185
|
10067
-
10075
|
TypeApply
|
akka.stream.scaladsl.Sink.seq
|
|
akka.stream.scaladsl.Sink.seq[Option[org.make.core.proposal.indexed.IndexedProposal]]
|
|
265
|
27752
|
10249
-
10299
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.getProposal
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.getProposal(proposalId)
|
|
265
|
25502
|
10220
-
10300
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.toModerationProposalResponse
|
|
DefaultProposalService.this.toModerationProposalResponse(DefaultProposalServiceComponent.this.proposalCoordinatorService.getProposal(proposalId))
|
|
272
|
24392
|
10460
-
10527
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.viewProposal
|
org.scalatest.testsuite
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.viewProposal(proposalId, requestContext)
|
|
276
|
25986
|
10696
-
10728
|
Apply
|
scala.Option.flatMap
|
org.make.api.proposal.proposalservicetest
|
query.filters.flatMap[org.make.core.proposal.ContentSearchFilter](((x$4: org.make.core.proposal.SearchFilters) => x$4.content))
|
|
276
|
28229
|
10718
-
10727
|
Select
|
org.make.core.proposal.SearchFilters.content
|
org.make.api.proposal.proposalservicetest
|
x$4.content
|
|
278
|
27986
|
10783
-
11174
|
Apply
|
org.make.api.sessionhistory.SessionHistoryCoordinatorService.logTransactionalHistory
|
|
DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.logTransactionalHistory[org.make.api.sessionhistory.LogSessionSearchProposalsEvent](org.make.api.sessionhistory.LogSessionSearchProposalsEvent.apply(requestContext.sessionId, requestContext, org.make.api.sessionhistory.SessionAction.apply[org.make.api.sessionhistory.SessionSearchParameters](org.make.core.DateHelper.now(), org.make.api.sessionhistory.LogSessionSearchProposalsEvent.action, org.make.api.sessionhistory.SessionSearchParameters.apply(contentFilter.text))))
|
|
279
|
24173
|
10853
-
11162
|
Apply
|
org.make.api.sessionhistory.LogSessionSearchProposalsEvent.apply
|
|
org.make.api.sessionhistory.LogSessionSearchProposalsEvent.apply(requestContext.sessionId, requestContext, org.make.api.sessionhistory.SessionAction.apply[org.make.api.sessionhistory.SessionSearchParameters](org.make.core.DateHelper.now(), org.make.api.sessionhistory.LogSessionSearchProposalsEvent.action, org.make.api.sessionhistory.SessionSearchParameters.apply(contentFilter.text)))
|
|
280
|
23626
|
10899
-
10923
|
Select
|
org.make.core.RequestContext.sessionId
|
|
requestContext.sessionId
|
|
282
|
25517
|
10969
-
11148
|
Apply
|
org.make.api.sessionhistory.SessionAction.apply
|
|
org.make.api.sessionhistory.SessionAction.apply[org.make.api.sessionhistory.SessionSearchParameters](org.make.core.DateHelper.now(), org.make.api.sessionhistory.LogSessionSearchProposalsEvent.action, org.make.api.sessionhistory.SessionSearchParameters.apply(contentFilter.text))
|
|
283
|
27377
|
11000
-
11016
|
Apply
|
org.make.core.DefaultDateHelper.now
|
|
org.make.core.DateHelper.now()
|
|
284
|
26124
|
11034
-
11071
|
Select
|
org.make.api.sessionhistory.LogSessionSearchProposalsEvent.action
|
|
org.make.api.sessionhistory.LogSessionSearchProposalsEvent.action
|
|
285
|
27697
|
11089
-
11132
|
Apply
|
org.make.api.sessionhistory.SessionSearchParameters.apply
|
|
org.make.api.sessionhistory.SessionSearchParameters.apply(contentFilter.text)
|
|
285
|
24114
|
11113
-
11131
|
Select
|
org.make.core.proposal.ContentSearchFilter.text
|
|
contentFilter.text
|
|
289
|
25994
|
11193
-
11204
|
Select
|
scala.concurrent.Future.unit
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.Future.unit
|
|
291
|
26137
|
11239
-
11286
|
Apply
|
org.make.api.proposal.ProposalSearchEngine.searchProposals
|
|
DefaultProposalServiceComponent.this.elasticsearchProposalAPI.searchProposals(query)
|
|
291
|
23881
|
11236
-
11236
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
291
|
27392
|
11219
-
11219
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
org.make.api.proposal.proposalservicetest
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
291
|
27706
|
11236
-
11236
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
org.make.api.proposal.proposalservicetest
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
291
|
25438
|
11219
-
11286
|
ApplyToImplicitArgs
|
cats.syntax.FlatMapOps.>>
|
org.make.api.proposal.proposalservicetest
|
cats.implicits.catsSyntaxFlatMapOps[scala.concurrent.Future, Unit](logSearchContent)(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).>>[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultProposalServiceComponent.this.elasticsearchProposalAPI.searchProposals(query))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))
|
|
291
|
23560
|
11219
-
11219
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
299
|
23105
|
11483
-
11509
|
Apply
|
java.lang.System.currentTimeMillis
|
|
java.lang.System.currentTimeMillis()
|
|
301
|
23570
|
11539
-
11539
|
Select
|
org.make.api.technical.job.JobCoordinatorService.start$default$2
|
|
qual$1.start$default$2
|
|
301
|
25089
|
11517
-
12903
|
Literal
|
<nosymbol>
|
|
()
|
|
301
|
27248
|
11517
-
12903
|
Apply
|
org.make.api.technical.job.JobCoordinatorService.start
|
|
qual$1.start(x$1, x$2)(x$41)
|
|
301
|
27998
|
11517
-
11538
|
Select
|
org.make.api.technical.job.JobCoordinatorServiceComponent.jobCoordinatorService
|
|
DefaultProposalServiceComponent.this.jobCoordinatorService
|
|
301
|
25973
|
11545
-
11569
|
Select
|
org.make.core.job.Job.JobId.SubmittedAsLanguagePatch
|
|
org.make.core.job.Job.JobId.SubmittedAsLanguagePatch
|
|
302
|
27168
|
11602
-
11605
|
Literal
|
<nosymbol>
|
|
200
|
|
303
|
25709
|
11667
-
11667
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
305
|
24926
|
11719
-
11719
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$7
|
|
org.make.core.proposal.SearchQuery.apply$default$7
|
|
305
|
23709
|
11719
-
11719
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$3
|
|
org.make.core.proposal.SearchQuery.apply$default$3
|
|
305
|
23822
|
11719
-
12111
|
Apply
|
org.make.core.proposal.SearchQuery.apply
|
|
org.make.core.proposal.SearchQuery.apply(x$34, x$37, x$38, x$36, x$35, x$39, x$40)
|
|
305
|
27252
|
11719
-
11719
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$6
|
|
org.make.core.proposal.SearchQuery.apply$default$6
|
|
305
|
25696
|
11719
-
11719
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$2
|
|
org.make.core.proposal.SearchQuery.apply$default$2
|
|
306
|
24917
|
11756
-
11975
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$3: Some[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.QuestionSearchFilter](org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)));
<artifact> val x$4: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values));
<artifact> val x$5: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$6: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$7: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$8: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$9: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$10: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$11: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$12: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$13: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$14: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$15: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$16: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14;
<artifact> val x$17: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$18: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$19: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$20: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$21: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$22: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$23: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$24: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$25: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$26: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$27: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$28: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$29: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$30: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$31: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$32: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$33: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$5, x$6, x$7, x$8, x$9, x$3, x$10, x$4, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31, x$32, x$33)
})
|
|
307
|
25871
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$30
|
|
org.make.core.proposal.SearchFilters.apply$default$30
|
|
307
|
23045
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$10
|
|
org.make.core.proposal.SearchFilters.apply$default$10
|
|
307
|
28099
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$20
|
|
org.make.core.proposal.SearchFilters.apply$default$20
|
|
307
|
23990
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$25
|
|
org.make.core.proposal.SearchFilters.apply$default$25
|
|
307
|
25919
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$12
|
|
org.make.core.proposal.SearchFilters.apply$default$12
|
|
307
|
23194
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$28
|
|
org.make.core.proposal.SearchFilters.apply$default$28
|
|
307
|
27384
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$14
|
|
org.make.core.proposal.SearchFilters.apply$default$14
|
|
307
|
25162
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$24
|
|
org.make.core.proposal.SearchFilters.apply$default$24
|
|
307
|
24043
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$5
|
|
org.make.core.proposal.SearchFilters.apply$default$5
|
|
307
|
25981
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$1
|
|
org.make.core.proposal.SearchFilters.apply$default$1
|
|
307
|
27838
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$7
|
|
org.make.core.proposal.SearchFilters.apply$default$7
|
|
307
|
23705
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$2
|
|
org.make.core.proposal.SearchFilters.apply$default$2
|
|
307
|
23714
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$13
|
|
org.make.core.proposal.SearchFilters.apply$default$13
|
|
307
|
24928
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$15
|
|
org.make.core.proposal.SearchFilters.apply$default$15
|
|
307
|
25442
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$27
|
|
org.make.core.proposal.SearchFilters.apply$default$27
|
|
307
|
26073
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$4
|
|
org.make.core.proposal.SearchFilters.apply$default$4
|
|
307
|
25508
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$9
|
|
org.make.core.proposal.SearchFilters.apply$default$9
|
|
307
|
27305
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$23
|
|
org.make.core.proposal.SearchFilters.apply$default$23
|
|
307
|
27936
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$11
|
|
org.make.core.proposal.SearchFilters.apply$default$11
|
|
307
|
23273
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$19
|
|
org.make.core.proposal.SearchFilters.apply$default$19
|
|
307
|
27768
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$17
|
|
org.make.core.proposal.SearchFilters.apply$default$17
|
|
307
|
25929
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$21
|
|
org.make.core.proposal.SearchFilters.apply$default$21
|
|
307
|
27176
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$3
|
|
org.make.core.proposal.SearchFilters.apply$default$3
|
|
307
|
27780
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$26
|
|
org.make.core.proposal.SearchFilters.apply$default$26
|
|
307
|
23503
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$31
|
|
org.make.core.proposal.SearchFilters.apply$default$31
|
|
307
|
23566
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$22
|
|
org.make.core.proposal.SearchFilters.apply$default$22
|
|
307
|
25435
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$18
|
|
org.make.core.proposal.SearchFilters.apply$default$18
|
|
307
|
24053
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$16
|
|
org.make.core.proposal.SearchFilters.apply$default$16
|
|
307
|
27319
|
11778
-
11959
|
Apply
|
org.make.core.proposal.SearchFilters.apply
|
|
org.make.core.proposal.SearchFilters.apply(x$5, x$6, x$7, x$8, x$9, x$3, x$10, x$4, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31, x$32, x$33)
|
|
307
|
27920
|
11778
-
11778
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$29
|
|
org.make.core.proposal.SearchFilters.apply$default$29
|
|
308
|
27826
|
11822
-
11865
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.proposal.QuestionSearchFilter](org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)))
|
|
308
|
23890
|
11827
-
11864
|
Apply
|
org.make.core.proposal.QuestionSearchFilter.apply
|
|
org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId))
|
|
308
|
26064
|
11848
-
11863
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)
|
|
309
|
25446
|
11918
-
11939
|
Select
|
org.make.core.proposal.ProposalStatus.values
|
|
org.make.core.proposal.ProposalStatus.values
|
|
309
|
23116
|
11899
-
11940
|
Apply
|
org.make.core.proposal.StatusSearchFilter.apply
|
|
org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values)
|
|
309
|
27924
|
11894
-
11941
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values))
|
|
312
|
23810
|
12005
-
12030
|
Apply
|
org.make.core.technical.Pagination.Offset.apply
|
|
org.make.core.technical.Pagination.Offset.apply(offset)
|
|
312
|
27834
|
12000
-
12031
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.technical.Pagination.Offset](org.make.core.technical.Pagination.Offset.apply(offset))
|
|
313
|
26798
|
12055
-
12097
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(offset.+(batchSize)))
|
|
313
|
25382
|
12077
-
12095
|
Apply
|
scala.Int.+
|
|
offset.+(batchSize)
|
|
313
|
23205
|
12060
-
12096
|
Apply
|
org.make.core.technical.Pagination.Limit.apply
|
|
org.make.core.technical.Pagination.Limit.apply(offset.+(batchSize))
|
|
318
|
23356
|
12200
-
12200
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
318
|
26810
|
12123
-
12221
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
this.searchInIndex(searchQuery, requestContext).map[Seq[org.make.core.proposal.ProposalId]](((x$6: org.make.core.proposal.indexed.ProposalsSearchResult) => x$6.results.map[org.make.core.proposal.ProposalId](((x$7: org.make.core.proposal.indexed.IndexedProposal) => x$7.id))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
318
|
27763
|
12215
-
12219
|
Select
|
org.make.core.proposal.indexed.IndexedProposal.id
|
|
x$7.id
|
|
318
|
25603
|
12201
-
12220
|
Apply
|
scala.collection.IterableOps.map
|
|
x$6.results.map[org.make.core.proposal.ProposalId](((x$7: org.make.core.proposal.indexed.IndexedProposal) => x$7.id))
|
|
319
|
23637
|
12241
-
12242
|
Literal
|
<nosymbol>
|
|
3
|
|
320
|
27473
|
12258
-
12258
|
Select
|
cats.UnorderedFoldableLowPriority.catsTraverseForSeq
|
|
cats.this.UnorderedFoldable.catsTraverseForSeq
|
|
320
|
26821
|
12258
-
12466
|
ApplyToImplicitArgs
|
cats.Foldable.Ops.traverse_
|
|
cats.implicits.toFoldableOps[Seq, org.make.core.proposal.ProposalId](x$8)(cats.this.UnorderedFoldable.catsTraverseForSeq).traverse_[scala.concurrent.Future, Unit](((x$9: org.make.core.proposal.ProposalId) => this.getEventSourcingProposal(x$9, requestContext).flatMap[Unit](((x$10: Option[org.make.core.proposal.Proposal]) => x$10.fold[scala.concurrent.Future[Unit]](scala.concurrent.Future.unit)(modifyFn)))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))
|
|
320
|
23190
|
12269
-
12269
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
320
|
25528
|
12269
-
12269
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
323
|
27776
|
12285
-
12406
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
this.getEventSourcingProposal(x$9, requestContext).flatMap[Unit](((x$10: Option[org.make.core.proposal.Proposal]) => x$10.fold[scala.concurrent.Future[Unit]](scala.concurrent.Future.unit)(modifyFn)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
323
|
22682
|
12375
-
12375
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
323
|
25244
|
12376
-
12405
|
Apply
|
scala.Option.fold
|
|
x$10.fold[scala.concurrent.Future[Unit]](scala.concurrent.Future.unit)(modifyFn)
|
|
326
|
27237
|
11633
-
12495
|
ApplyToImplicitArgs
|
akka.stream.scaladsl.Source.run
|
|
org.make.api.technical.StreamUtils.asyncPageToPageSource[org.make.core.proposal.ProposalId](((offset: Int) => {
val searchQuery: org.make.core.proposal.SearchQuery = {
<artifact> val x$34: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$3: Some[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.QuestionSearchFilter](org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)));
<artifact> val x$4: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values));
<artifact> val x$5: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$6: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$7: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$8: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$9: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$10: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$11: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$12: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$13: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$14: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$15: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$16: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14;
<artifact> val x$17: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$18: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$19: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$20: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$21: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$22: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$23: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$24: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$25: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$26: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$27: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$28: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$29: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$30: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$31: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$32: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$33: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$5, x$6, x$7, x$8, x$9, x$3, x$10, x$4, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31, x$32, x$33)
});
<artifact> val x$35: Some[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Offset](org.make.core.technical.Pagination.Offset.apply(offset));
<artifact> val x$36: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(offset.+(batchSize)));
<artifact> val x$37: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$38: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3;
<artifact> val x$39: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
<artifact> val x$40: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$34, x$37, x$38, x$36, x$35, x$39, x$40)
};
this.searchInIndex(searchQuery, requestContext).map[Seq[org.make.core.proposal.ProposalId]](((x$6: org.make.core.proposal.indexed.ProposalsSearchResult) => x$6.results.map[org.make.core.proposal.ProposalId](((x$7: org.make.core.proposal.indexed.IndexedProposal) => x$7.id))))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global).mapAsync[Unit](3)(((x$8: Seq[org.make.core.proposal.ProposalId]) => cats.implicits.toFoldableOps[Seq, org.make.core.proposal.ProposalId](x$8)(cats.this.UnorderedFoldable.catsTraverseForSeq).traverse_[scala.concurrent.Future, Unit](((x$9: org.make.core.proposal.ProposalId) => this.getEventSourcingProposal(x$9, requestContext).flatMap[Unit](((x$10: Option[org.make.core.proposal.Proposal]) => x$10.fold[scala.concurrent.Future[Unit]](scala.concurrent.Future.unit)(modifyFn)))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)))).run()(stream.this.Materializer.matFromSystem(DefaultProposalServiceComponent.this.actorSystem))
|
|
326
|
25867
|
12493
-
12493
|
Select
|
org.make.api.technical.ActorSystemComponent.actorSystem
|
|
DefaultProposalServiceComponent.this.actorSystem
|
|
326
|
23650
|
12493
-
12493
|
ApplyToImplicitArgs
|
akka.stream.Materializer.matFromSystem
|
|
stream.this.Materializer.matFromSystem(DefaultProposalServiceComponent.this.actorSystem)
|
|
326
|
22693
|
12493
-
12493
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
326
|
25076
|
12493
-
12493
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
327
|
27716
|
11633
-
12511
|
Select
|
cats.Functor.Ops.void
|
|
cats.implicits.toFunctorOps[scala.concurrent.Future, akka.Done](org.make.api.technical.StreamUtils.asyncPageToPageSource[org.make.core.proposal.ProposalId](((offset: Int) => {
val searchQuery: org.make.core.proposal.SearchQuery = {
<artifact> val x$34: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$3: Some[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.QuestionSearchFilter](org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)));
<artifact> val x$4: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values));
<artifact> val x$5: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$6: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$7: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$8: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$9: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$10: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$11: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$12: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$13: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$14: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$15: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$16: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14;
<artifact> val x$17: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$18: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$19: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$20: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$21: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$22: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$23: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$24: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$25: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$26: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$27: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$28: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$29: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$30: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$31: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$32: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$33: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$5, x$6, x$7, x$8, x$9, x$3, x$10, x$4, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31, x$32, x$33)
});
<artifact> val x$35: Some[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Offset](org.make.core.technical.Pagination.Offset.apply(offset));
<artifact> val x$36: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(offset.+(batchSize)));
<artifact> val x$37: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$38: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3;
<artifact> val x$39: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
<artifact> val x$40: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$34, x$37, x$38, x$36, x$35, x$39, x$40)
};
this.searchInIndex(searchQuery, requestContext).map[Seq[org.make.core.proposal.ProposalId]](((x$6: org.make.core.proposal.indexed.ProposalsSearchResult) => x$6.results.map[org.make.core.proposal.ProposalId](((x$7: org.make.core.proposal.indexed.IndexedProposal) => x$7.id))))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global).mapAsync[Unit](3)(((x$8: Seq[org.make.core.proposal.ProposalId]) => cats.implicits.toFoldableOps[Seq, org.make.core.proposal.ProposalId](x$8)(cats.this.UnorderedFoldable.catsTraverseForSeq).traverse_[scala.concurrent.Future, Unit](((x$9: org.make.core.proposal.ProposalId) => this.getEventSourcingProposal(x$9, requestContext).flatMap[Unit](((x$10: Option[org.make.core.proposal.Proposal]) => x$10.fold[scala.concurrent.Future[Unit]](scala.concurrent.Future.unit)(modifyFn)))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)))).run()(stream.this.Materializer.matFromSystem(DefaultProposalServiceComponent.this.actorSystem)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).void
|
|
328
|
25877
|
12544
-
12544
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
328
|
23580
|
12520
-
12873
|
ApplyToImplicitArgs
|
scala.concurrent.Future.onComplete
|
|
applyChanges.onComplete[Unit](((x0$1: scala.util.Try[Unit]) => x0$1 match {
case (exception: Throwable): scala.util.Failure[Unit]((exception @ _)) => DefaultProposalServiceComponent.this.logger.error("submittedAsLanguage patching script failed with:", exception)
case (value: Unit): scala.util.Success[Unit](_) => {
val elapsed: Long = java.lang.System.currentTimeMillis().-(startTime);
DefaultProposalServiceComponent.this.logger.info(("submittedAsLanguage patching script succeeded in ".+(elapsed.toString()).+("ms"): String))
}
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
330
|
25536
|
12595
-
12670
|
Apply
|
grizzled.slf4j.Logger.error
|
|
DefaultProposalServiceComponent.this.logger.error("submittedAsLanguage patching script failed with:", exception)
|
|
332
|
23199
|
12726
-
12764
|
Apply
|
scala.Long.-
|
|
java.lang.System.currentTimeMillis().-(startTime)
|
|
333
|
26959
|
12777
-
12863
|
Apply
|
grizzled.slf4j.Logger.info
|
|
DefaultProposalServiceComponent.this.logger.info(("submittedAsLanguage patching script succeeded in ".+(elapsed.toString()).+("ms"): String))
|
|
347
|
22924
|
13248
-
13248
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
347
|
26593
|
13215
-
15020
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
searchFn.apply(requestContext).flatMap[org.make.api.proposal.ProposalsResultResponse](((searchResult: org.make.core.proposal.indexed.ProposalsSearchResult) => maybeUserId.fold[scala.concurrent.Future[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]]](DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.retrieveVoteAndQualifications(requestContext.sessionId, searchResult.results.map[org.make.core.proposal.ProposalId](((x$11: org.make.core.proposal.indexed.IndexedProposal) => x$11.id))))(((userId: org.make.core.user.UserId) => DefaultProposalServiceComponent.this.userHistoryCoordinatorService.retrieveVoteAndQualifications(userId, searchResult.results.map[org.make.core.proposal.ProposalId](((x$12: org.make.core.proposal.indexed.IndexedProposal) => x$12.id))))).flatMap[org.make.api.proposal.ProposalsResultResponse](((votes: Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]) => {
val questionIds: Seq[org.make.core.question.QuestionId] = searchResult.results.flatMap[org.make.core.question.QuestionId](((x$13: org.make.core.proposal.indexed.IndexedProposal) => x$13.question.map[org.make.core.question.QuestionId](((x$14: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$14.questionId)))).distinct;
scala.concurrent.Future.traverse[org.make.core.question.QuestionId, org.make.core.sequence.SequenceConfiguration, Seq](questionIds)(((questionId: org.make.core.question.QuestionId) => DefaultProposalServiceComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)))(collection.this.BuildFrom.buildFromIterableOps[Seq, org.make.core.question.QuestionId, org.make.core.sequence.SequenceConfiguration], scala.concurrent.ExecutionContext.Implicits.global).map[org.make.api.proposal.ProposalsResultResponse](((configs: Seq[org.make.core.sequence.SequenceConfiguration]) => {
val proposals: Seq[org.make.api.proposal.ProposalResponse] = searchResult.results.map[org.make.api.proposal.ProposalResponse](((indexedProposal: org.make.core.proposal.indexed.IndexedProposal) => {
val newProposalsVoteThreshold: Int = configs.find(((config: org.make.core.sequence.SequenceConfiguration) => indexedProposal.question.map[org.make.core.question.QuestionId](((x$15: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$15.questionId)).contains[org.make.core.question.QuestionId](config.questionId))).fold[Int](0)(((x$16: org.make.core.sequence.SequenceConfiguration) => x$16.newProposalsVoteThreshold));
val proposalKey: String = DefaultProposalService.this.generateProposalKeyHash(indexedProposal.id, requestContext.sessionId, requestContext.location, DefaultProposalServiceComponent.this.securityConfiguration.secureVoteSalt);
ProposalResponse.apply(indexedProposal, maybeUserId.contains[org.make.core.user.UserId](indexedProposal.author.userId), votes.get(indexedProposal.id), proposalKey, newProposalsVoteThreshold, preferredLanguage, questionDefaultLanguage)
}));
ProposalsResultResponse.apply(searchResult.total, proposals)
}))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
351
|
23123
|
13315
-
13462
|
Apply
|
org.make.api.sessionhistory.SessionHistoryCoordinatorService.retrieveVoteAndQualifications
|
|
DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.retrieveVoteAndQualifications(requestContext.sessionId, searchResult.results.map[org.make.core.proposal.ProposalId](((x$11: org.make.core.proposal.indexed.IndexedProposal) => x$11.id)))
|
|
351
|
22665
|
13405
-
13429
|
Select
|
org.make.core.RequestContext.sessionId
|
|
requestContext.sessionId
|
|
351
|
25322
|
13431
-
13461
|
Apply
|
scala.collection.IterableOps.map
|
|
searchResult.results.map[org.make.core.proposal.ProposalId](((x$11: org.make.core.proposal.indexed.IndexedProposal) => x$11.id))
|
|
351
|
27726
|
13456
-
13460
|
Select
|
org.make.core.proposal.indexed.IndexedProposal.id
|
|
x$11.id
|
|
353
|
24549
|
13576
-
13606
|
Apply
|
scala.collection.IterableOps.map
|
|
searchResult.results.map[org.make.core.proposal.ProposalId](((x$12: org.make.core.proposal.indexed.IndexedProposal) => x$12.id))
|
|
353
|
26971
|
13601
-
13605
|
Select
|
org.make.core.proposal.indexed.IndexedProposal.id
|
|
x$12.id
|
|
353
|
23591
|
13499
-
13607
|
Apply
|
org.make.api.userhistory.UserHistoryCoordinatorService.retrieveVoteAndQualifications
|
|
DefaultProposalServiceComponent.this.userHistoryCoordinatorService.retrieveVoteAndQualifications(userId, searchResult.results.map[org.make.core.proposal.ProposalId](((x$12: org.make.core.proposal.indexed.IndexedProposal) => x$12.id)))
|
|
355
|
27330
|
13639
-
13639
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
355
|
25004
|
13274
-
15012
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
maybeUserId.fold[scala.concurrent.Future[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]]](DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.retrieveVoteAndQualifications(requestContext.sessionId, searchResult.results.map[org.make.core.proposal.ProposalId](((x$11: org.make.core.proposal.indexed.IndexedProposal) => x$11.id))))(((userId: org.make.core.user.UserId) => DefaultProposalServiceComponent.this.userHistoryCoordinatorService.retrieveVoteAndQualifications(userId, searchResult.results.map[org.make.core.proposal.ProposalId](((x$12: org.make.core.proposal.indexed.IndexedProposal) => x$12.id))))).flatMap[org.make.api.proposal.ProposalsResultResponse](((votes: Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]) => {
val questionIds: Seq[org.make.core.question.QuestionId] = searchResult.results.flatMap[org.make.core.question.QuestionId](((x$13: org.make.core.proposal.indexed.IndexedProposal) => x$13.question.map[org.make.core.question.QuestionId](((x$14: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$14.questionId)))).distinct;
scala.concurrent.Future.traverse[org.make.core.question.QuestionId, org.make.core.sequence.SequenceConfiguration, Seq](questionIds)(((questionId: org.make.core.question.QuestionId) => DefaultProposalServiceComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)))(collection.this.BuildFrom.buildFromIterableOps[Seq, org.make.core.question.QuestionId, org.make.core.sequence.SequenceConfiguration], scala.concurrent.ExecutionContext.Implicits.global).map[org.make.api.proposal.ProposalsResultResponse](((configs: Seq[org.make.core.sequence.SequenceConfiguration]) => {
val proposals: Seq[org.make.api.proposal.ProposalResponse] = searchResult.results.map[org.make.api.proposal.ProposalResponse](((indexedProposal: org.make.core.proposal.indexed.IndexedProposal) => {
val newProposalsVoteThreshold: Int = configs.find(((config: org.make.core.sequence.SequenceConfiguration) => indexedProposal.question.map[org.make.core.question.QuestionId](((x$15: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$15.questionId)).contains[org.make.core.question.QuestionId](config.questionId))).fold[Int](0)(((x$16: org.make.core.sequence.SequenceConfiguration) => x$16.newProposalsVoteThreshold));
val proposalKey: String = DefaultProposalService.this.generateProposalKeyHash(indexedProposal.id, requestContext.sessionId, requestContext.location, DefaultProposalServiceComponent.this.securityConfiguration.secureVoteSalt);
ProposalResponse.apply(indexedProposal, maybeUserId.contains[org.make.core.user.UserId](indexedProposal.author.userId), votes.get(indexedProposal.id), proposalKey, newProposalsVoteThreshold, preferredLanguage, questionDefaultLanguage)
}));
ProposalsResultResponse.apply(searchResult.total, proposals)
}))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
356
|
25010
|
13726
-
13754
|
Apply
|
scala.Option.map
|
|
x$13.question.map[org.make.core.question.QuestionId](((x$14: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$14.questionId))
|
|
356
|
22679
|
13697
-
13764
|
Select
|
scala.collection.SeqOps.distinct
|
|
searchResult.results.flatMap[org.make.core.question.QuestionId](((x$13: org.make.core.proposal.indexed.IndexedProposal) => x$13.question.map[org.make.core.question.QuestionId](((x$14: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$14.questionId)))).distinct
|
|
356
|
27257
|
13741
-
13753
|
Select
|
org.make.core.proposal.indexed.IndexedProposalQuestion.questionId
|
|
x$14.questionId
|
|
357
|
24872
|
13877
-
13877
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
357
|
23134
|
13805
-
13805
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
357
|
25332
|
13805
-
13805
|
TypeApply
|
scala.collection.BuildFromLowPriority2.buildFromIterableOps
|
|
collection.this.BuildFrom.buildFromIterableOps[Seq, org.make.core.question.QuestionId, org.make.core.sequence.SequenceConfiguration]
|
|
357
|
27846
|
13806
-
13871
|
Apply
|
org.make.api.sequence.SequenceConfigurationService.getSequenceConfigurationByQuestionId
|
|
DefaultProposalServiceComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)
|
|
357
|
23587
|
13777
-
15000
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
scala.concurrent.Future.traverse[org.make.core.question.QuestionId, org.make.core.sequence.SequenceConfiguration, Seq](questionIds)(((questionId: org.make.core.question.QuestionId) => DefaultProposalServiceComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)))(collection.this.BuildFrom.buildFromIterableOps[Seq, org.make.core.question.QuestionId, org.make.core.sequence.SequenceConfiguration], scala.concurrent.ExecutionContext.Implicits.global).map[org.make.api.proposal.ProposalsResultResponse](((configs: Seq[org.make.core.sequence.SequenceConfiguration]) => {
val proposals: Seq[org.make.api.proposal.ProposalResponse] = searchResult.results.map[org.make.api.proposal.ProposalResponse](((indexedProposal: org.make.core.proposal.indexed.IndexedProposal) => {
val newProposalsVoteThreshold: Int = configs.find(((config: org.make.core.sequence.SequenceConfiguration) => indexedProposal.question.map[org.make.core.question.QuestionId](((x$15: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$15.questionId)).contains[org.make.core.question.QuestionId](config.questionId))).fold[Int](0)(((x$16: org.make.core.sequence.SequenceConfiguration) => x$16.newProposalsVoteThreshold));
val proposalKey: String = DefaultProposalService.this.generateProposalKeyHash(indexedProposal.id, requestContext.sessionId, requestContext.location, DefaultProposalServiceComponent.this.securityConfiguration.secureVoteSalt);
ProposalResponse.apply(indexedProposal, maybeUserId.contains[org.make.core.user.UserId](indexedProposal.author.userId), votes.get(indexedProposal.id), proposalKey, newProposalsVoteThreshold, preferredLanguage, questionDefaultLanguage)
}));
ProposalsResultResponse.apply(searchResult.total, proposals)
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
359
|
25454
|
13936
-
14915
|
Apply
|
scala.collection.IterableOps.map
|
|
searchResult.results.map[org.make.api.proposal.ProposalResponse](((indexedProposal: org.make.core.proposal.indexed.IndexedProposal) => {
val newProposalsVoteThreshold: Int = configs.find(((config: org.make.core.sequence.SequenceConfiguration) => indexedProposal.question.map[org.make.core.question.QuestionId](((x$15: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$15.questionId)).contains[org.make.core.question.QuestionId](config.questionId))).fold[Int](0)(((x$16: org.make.core.sequence.SequenceConfiguration) => x$16.newProposalsVoteThreshold));
val proposalKey: String = DefaultProposalService.this.generateProposalKeyHash(indexedProposal.id, requestContext.sessionId, requestContext.location, DefaultProposalServiceComponent.this.securityConfiguration.secureVoteSalt);
ProposalResponse.apply(indexedProposal, maybeUserId.contains[org.make.core.user.UserId](indexedProposal.author.userId), votes.get(indexedProposal.id), proposalKey, newProposalsVoteThreshold, preferredLanguage, questionDefaultLanguage)
}))
|
|
361
|
23565
|
14076
-
14146
|
Apply
|
scala.Option.contains
|
|
indexedProposal.question.map[org.make.core.question.QuestionId](((x$15: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$15.questionId)).contains[org.make.core.question.QuestionId](config.questionId)
|
|
361
|
27107
|
14105
-
14117
|
Select
|
org.make.core.proposal.indexed.IndexedProposalQuestion.questionId
|
|
x$15.questionId
|
|
361
|
24562
|
14128
-
14145
|
Select
|
org.make.core.sequence.SequenceConfiguration.questionId
|
|
config.questionId
|
|
362
|
22982
|
14032
-
14205
|
Apply
|
scala.Option.fold
|
|
configs.find(((config: org.make.core.sequence.SequenceConfiguration) => indexedProposal.question.map[org.make.core.question.QuestionId](((x$15: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$15.questionId)).contains[org.make.core.question.QuestionId](config.questionId))).fold[Int](0)(((x$16: org.make.core.sequence.SequenceConfiguration) => x$16.newProposalsVoteThreshold))
|
|
362
|
27197
|
14174
-
14175
|
Literal
|
<nosymbol>
|
|
0
|
|
362
|
25020
|
14177
-
14204
|
Select
|
org.make.core.sequence.SequenceConfiguration.newProposalsVoteThreshold
|
|
x$16.newProposalsVoteThreshold
|
|
364
|
24862
|
14262
-
14504
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.generateProposalKeyHash
|
|
DefaultProposalService.this.generateProposalKeyHash(indexedProposal.id, requestContext.sessionId, requestContext.location, DefaultProposalServiceComponent.this.securityConfiguration.secureVoteSalt)
|
|
365
|
26444
|
14309
-
14327
|
Select
|
org.make.core.proposal.indexed.IndexedProposal.id
|
|
indexedProposal.id
|
|
366
|
25534
|
14351
-
14375
|
Select
|
org.make.core.RequestContext.sessionId
|
|
requestContext.sessionId
|
|
367
|
23065
|
14399
-
14422
|
Select
|
org.make.core.RequestContext.location
|
|
requestContext.location
|
|
368
|
27117
|
14446
-
14482
|
Select
|
org.make.api.technical.security.SecurityConfiguration.secureVoteSalt
|
|
DefaultProposalServiceComponent.this.securityConfiguration.secureVoteSalt
|
|
370
|
26453
|
14523
-
14897
|
Apply
|
org.make.api.proposal.ProposalResponse.apply
|
|
ProposalResponse.apply(indexedProposal, maybeUserId.contains[org.make.core.user.UserId](indexedProposal.author.userId), votes.get(indexedProposal.id), proposalKey, newProposalsVoteThreshold, preferredLanguage, questionDefaultLanguage)
|
|
372
|
23577
|
14632
-
14661
|
Select
|
org.make.core.proposal.indexed.IndexedAuthor.userId
|
|
indexedProposal.author.userId
|
|
372
|
27405
|
14611
-
14662
|
Apply
|
scala.Option.contains
|
|
maybeUserId.contains[org.make.core.user.UserId](indexedProposal.author.userId)
|
|
373
|
25186
|
14694
-
14712
|
Select
|
org.make.core.proposal.indexed.IndexedProposal.id
|
|
indexedProposal.id
|
|
373
|
22990
|
14684
-
14713
|
Apply
|
scala.collection.MapOps.get
|
|
votes.get(indexedProposal.id)
|
|
380
|
23292
|
14956
-
14974
|
Select
|
org.make.core.proposal.indexed.ProposalsSearchResult.total
|
|
searchResult.total
|
|
380
|
27056
|
14932
-
14986
|
Apply
|
org.make.api.proposal.ProposalsResultResponse.apply
|
|
ProposalsResultResponse.apply(searchResult.total, proposals)
|
|
393
|
25467
|
15319
-
15342
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.searchInIndex
|
|
DefaultProposalService.this.searchInIndex(query, x$17)
|
|
393
|
27342
|
15420
-
15420
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
393
|
24937
|
15312
-
15580
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultProposalService.this.enrich(((x$17: org.make.core.RequestContext) => DefaultProposalService.this.searchInIndex(query, x$17)), maybeUserId, requestContext, preferredLanguage, questionDefaultLanguage).map[org.make.api.proposal.ProposalsResultSeededResponse](((proposalResultResponse: org.make.api.proposal.ProposalsResultResponse) => ProposalsResultSeededResponse.apply(proposalResultResponse.total, proposalResultResponse.results, query.getSeed)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
395
|
23051
|
15496
-
15524
|
Select
|
org.make.api.proposal.ProposalsResultResponse.total
|
|
proposalResultResponse.total
|
|
395
|
26889
|
15526
-
15556
|
Select
|
org.make.api.proposal.ProposalsResultResponse.results
|
|
proposalResultResponse.results
|
|
395
|
22448
|
15466
-
15572
|
Apply
|
org.make.api.proposal.ProposalsResultSeededResponse.apply
|
|
ProposalsResultSeededResponse.apply(proposalResultResponse.total, proposalResultResponse.results, query.getSeed)
|
|
395
|
24885
|
15558
-
15571
|
Select
|
org.make.core.proposal.SearchQuery.getSeed
|
|
query.getSeed
|
|
408
|
22766
|
15954
-
15991
|
Select
|
org.make.core.proposal.indexed.ProposalElasticsearchFieldName.ideaId
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.indexed.ProposalElasticsearchFieldName.ideaId
|
|
408
|
26602
|
15895
-
15992
|
Apply
|
org.make.api.proposal.ProposalSearchEngine.getTopProposals
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalServiceComponent.this.elasticsearchProposalAPI.getTopProposals(questionId, size, org.make.core.proposal.indexed.ProposalElasticsearchFieldName.ideaId)
|
|
410
|
25401
|
16080
-
16129
|
Select
|
org.make.core.proposal.indexed.ProposalElasticsearchFieldName.selectedStakeTagId
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.indexed.ProposalElasticsearchFieldName.selectedStakeTagId
|
|
410
|
23059
|
16021
-
16130
|
Apply
|
org.make.api.proposal.ProposalSearchEngine.getTopProposals
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalServiceComponent.this.elasticsearchProposalAPI.getTopProposals(questionId, size, org.make.core.proposal.indexed.ProposalElasticsearchFieldName.selectedStakeTagId)
|
|
413
|
22459
|
16176
-
16176
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
413
|
27500
|
16166
-
16233
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
org.make.api.proposal.proposalservicetest
|
search.map[org.make.core.proposal.indexed.ProposalsSearchResult](((results: Seq[org.make.core.proposal.indexed.IndexedProposal]) => org.make.core.proposal.indexed.ProposalsSearchResult.apply(results.size.toLong, results)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
413
|
24856
|
16188
-
16232
|
Apply
|
org.make.core.proposal.indexed.ProposalsSearchResult.apply
|
|
org.make.core.proposal.indexed.ProposalsSearchResult.apply(results.size.toLong, results)
|
|
413
|
26820
|
16210
-
16222
|
Select
|
scala.Int.toLong
|
|
results.size.toLong
|
|
416
|
24947
|
16308
-
16312
|
Select
|
scala.None
|
org.make.api.proposal.proposalservicetest
|
scala.None
|
|
417
|
22775
|
16348
-
16352
|
Select
|
scala.None
|
org.make.api.proposal.proposalservicetest
|
scala.None
|
|
418
|
26831
|
16364
-
16364
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
418
|
24867
|
16145
-
16493
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalService.this.enrich(((x$18: org.make.core.RequestContext) => search.map[org.make.core.proposal.indexed.ProposalsSearchResult](((results: Seq[org.make.core.proposal.indexed.IndexedProposal]) => org.make.core.proposal.indexed.ProposalsSearchResult.apply(results.size.toLong, results)))(scala.concurrent.ExecutionContext.Implicits.global)), maybeUserId, requestContext, scala.None, scala.None).map[org.make.api.proposal.ProposalsResultResponse](((proposalResultResponse: org.make.api.proposal.ProposalsResultResponse) => ProposalsResultResponse.apply(proposalResultResponse.total, proposalResultResponse.results)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
419
|
23377
|
16400
-
16485
|
Apply
|
org.make.api.proposal.ProposalsResultResponse.apply
|
|
ProposalsResultResponse.apply(proposalResultResponse.total, proposalResultResponse.results)
|
|
419
|
25410
|
16454
-
16484
|
Select
|
org.make.api.proposal.ProposalsResultResponse.results
|
|
proposalResultResponse.results
|
|
419
|
26736
|
16424
-
16452
|
Select
|
org.make.api.proposal.ProposalsResultResponse.total
|
|
proposalResultResponse.total
|
|
435
|
24955
|
16831
-
17239
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.propose
|
|
qual$1.propose(x$1, x$2, x$3, x$4, x$5, x$6, x$8, x$7, x$9, x$10)
|
|
435
|
22607
|
16831
-
16857
|
Select
|
org.make.api.proposal.ProposalCoordinatorServiceComponent.proposalCoordinatorService
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService
|
|
436
|
27507
|
16888
-
16916
|
Apply
|
org.make.core.technical.IdGenerator.nextProposalId
|
|
DefaultProposalServiceComponent.this.idGenerator.nextProposalId()
|
|
459
|
24320
|
17600
-
17974
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.toModerationProposalResponse
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalService.this.toModerationProposalResponse({
<artifact> val qual$1: org.make.api.proposal.ProposalCoordinatorService = DefaultProposalServiceComponent.this.proposalCoordinatorService;
<artifact> val x$1: org.make.core.user.UserId = moderator;
<artifact> val x$2: org.make.core.proposal.ProposalId = proposalId;
<artifact> val x$3: org.make.core.RequestContext = requestContext;
<artifact> val x$4: java.time.ZonedDateTime = updatedAt;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = newContent;
<artifact> val x$6: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = newContentTranslations;
<artifact> val x$7: org.make.core.question.Question = question;
<artifact> val x$8: Seq[org.make.core.tag.TagId] @scala.reflect.internal.annotations.uncheckedBounds = tags;
qual$1.update(x$1, x$2, x$3, x$4, x$5, x$6, x$8, x$7)
})
|
|
460
|
26750
|
17638
-
17966
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.update
|
org.make.api.proposal.proposalservicetest
|
qual$1.update(x$1, x$2, x$3, x$4, x$5, x$6, x$8, x$7)
|
|
460
|
22920
|
17638
-
17664
|
Select
|
org.make.api.proposal.ProposalCoordinatorServiceComponent.proposalCoordinatorService
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalServiceComponent.this.proposalCoordinatorService
|
|
474
|
26840
|
18108
-
18144
|
Select
|
scala.collection.SeqOps.distinct
|
|
proposal.events.map[org.make.core.user.UserId](((x$19: org.make.core.proposal.ProposalAction) => x$19.user)).distinct
|
|
474
|
23387
|
18128
-
18134
|
Select
|
org.make.core.proposal.ProposalAction.user
|
|
x$19.user
|
|
475
|
24794
|
18194
-
18238
|
Apply
|
org.make.api.user.UserService.getUsersByUserIds
|
|
DefaultProposalServiceComponent.this.userService.getUsersByUserIds(eventsUserIds)
|
|
477
|
24346
|
18268
-
18268
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
477
|
23146
|
18246
-
18689
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
futureEventsUsers.map[List[org.make.api.proposal.ProposalActionResponse]](((eventsUsers: Seq[org.make.core.user.User]) => {
val userById: scala.collection.immutable.Map[org.make.core.user.UserId,Option[String]] = eventsUsers.map[(org.make.core.user.UserId, Option[String])](((u: org.make.core.user.User) => scala.Predef.ArrowAssoc[org.make.core.user.UserId](u.userId).->[Option[String]](u.displayName))).toMap[org.make.core.user.UserId, Option[String]](scala.this.<:<.refl[(org.make.core.user.UserId, Option[String])]);
proposal.events.map[org.make.api.proposal.ProposalActionResponse](((action: org.make.core.proposal.ProposalAction) => ProposalActionResponse.apply(action.date, userById.get(action.user).map[org.make.api.proposal.ProposalActionAuthorResponse](((name: Option[String]) => ProposalActionAuthorResponse.apply(action.user, name))), action.actionType, action.arguments)))
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
478
|
25273
|
18329
-
18354
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[org.make.core.user.UserId](u.userId).->[Option[String]](u.displayName)
|
|
478
|
22928
|
18356
-
18356
|
TypeApply
|
scala.<:<.refl
|
|
scala.this.<:<.refl[(org.make.core.user.UserId, Option[String])]
|
|
478
|
22619
|
18329
-
18337
|
Select
|
org.make.core.user.User.userId
|
|
u.userId
|
|
478
|
26677
|
18308
-
18361
|
ApplyToImplicitArgs
|
scala.collection.IterableOnceOps.toMap
|
|
eventsUsers.map[(org.make.core.user.UserId, Option[String])](((u: org.make.core.user.User) => scala.Predef.ArrowAssoc[org.make.core.user.UserId](u.userId).->[Option[String]](u.displayName))).toMap[org.make.core.user.UserId, Option[String]](scala.this.<:<.refl[(org.make.core.user.UserId, Option[String])])
|
|
478
|
27256
|
18341
-
18354
|
Select
|
org.make.core.user.User.displayName
|
|
u.displayName
|
|
479
|
26686
|
18370
-
18681
|
Apply
|
scala.collection.immutable.List.map
|
|
proposal.events.map[org.make.api.proposal.ProposalActionResponse](((action: org.make.core.proposal.ProposalAction) => ProposalActionResponse.apply(action.date, userById.get(action.user).map[org.make.api.proposal.ProposalActionAuthorResponse](((name: Option[String]) => ProposalActionAuthorResponse.apply(action.user, name))), action.actionType, action.arguments)))
|
|
480
|
22865
|
18412
-
18671
|
Apply
|
org.make.api.proposal.ProposalActionResponse.apply
|
|
ProposalActionResponse.apply(action.date, userById.get(action.user).map[org.make.api.proposal.ProposalActionAuthorResponse](((name: Option[String]) => ProposalActionAuthorResponse.apply(action.user, name))), action.actionType, action.arguments)
|
|
481
|
24333
|
18455
-
18466
|
Select
|
org.make.core.proposal.ProposalAction.date
|
|
action.date
|
|
482
|
26995
|
18554
-
18565
|
Select
|
org.make.core.proposal.ProposalAction.user
|
|
action.user
|
|
482
|
24805
|
18525
-
18572
|
Apply
|
org.make.api.proposal.ProposalActionAuthorResponse.apply
|
|
ProposalActionAuthorResponse.apply(action.user, name)
|
|
482
|
22376
|
18487
-
18573
|
Apply
|
scala.Option.map
|
|
userById.get(action.user).map[org.make.api.proposal.ProposalActionAuthorResponse](((name: Option[String]) => ProposalActionAuthorResponse.apply(action.user, name)))
|
|
482
|
23225
|
18500
-
18511
|
Select
|
org.make.core.proposal.ProposalAction.user
|
|
action.user
|
|
483
|
26233
|
18600
-
18617
|
Select
|
org.make.core.proposal.ProposalAction.actionType
|
|
action.actionType
|
|
484
|
25111
|
18643
-
18659
|
Select
|
org.make.core.proposal.ProposalAction.arguments
|
|
action.arguments
|
|
495
|
26825
|
19022
-
19026
|
Select
|
scala.None
|
|
scala.None
|
|
495
|
24740
|
19004
-
19027
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[None.type](scala.None)
|
|
499
|
22387
|
19183
-
19195
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.sequence.SequenceConfiguration](config)
|
|
499
|
26246
|
19172
-
19172
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
499
|
25259
|
19068
-
19196
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultProposalServiceComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(qId).map[Some[org.make.core.sequence.SequenceConfiguration]](((config: org.make.core.sequence.SequenceConfiguration) => scala.Some.apply[org.make.core.sequence.SequenceConfiguration](config)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
503
|
24271
|
19321
-
19362
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[Option[org.make.core.reference.Language]](scala.Option.apply[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr")))
|
|
503
|
26615
|
19339
-
19361
|
Apply
|
scala.Option.apply
|
|
scala.Option.apply[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))
|
|
503
|
22696
|
19346
-
19360
|
Apply
|
org.make.core.reference.Language.apply
|
|
org.make.core.reference.Language.apply("fr")
|
|
503
|
26168
|
19305
-
19445
|
Apply
|
scala.Option.fold
|
|
questionId.fold[scala.concurrent.Future[Option[org.make.core.reference.Language]]](scala.concurrent.Future.successful[Option[org.make.core.reference.Language]](scala.Option.apply[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))))(((x$20: org.make.core.question.QuestionId) => DefaultProposalServiceComponent.this.questionService.getQuestion(x$20).map[Option[org.make.core.reference.Language]](((x$21: Option[org.make.core.question.Question]) => x$21.map[org.make.core.reference.Language](((x$22: org.make.core.question.Question) => x$22.defaultLanguage))))(scala.concurrent.ExecutionContext.Implicits.global)))
|
|
504
|
24579
|
19409
-
19409
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
504
|
27126
|
19410
-
19434
|
Apply
|
scala.Option.map
|
|
x$21.map[org.make.core.reference.Language](((x$22: org.make.core.question.Question) => x$22.defaultLanguage))
|
|
504
|
23157
|
19416
-
19433
|
Select
|
org.make.core.question.Question.defaultLanguage
|
|
x$22.defaultLanguage
|
|
504
|
22397
|
19375
-
19435
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultProposalServiceComponent.this.questionService.getQuestion(x$20).map[Option[org.make.core.reference.Language]](((x$21: Option[org.make.core.question.Question]) => x$21.map[org.make.core.reference.Language](((x$22: org.make.core.question.Question) => x$22.defaultLanguage))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
507
|
26023
|
19453
-
21471
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
futureProposal.flatMap[Option[org.make.api.proposal.ModerationProposalResponse]](((x0$1: Option[org.make.core.proposal.Proposal]) => x0$1 match {
case scala.None => scala.concurrent.Future.successful[None.type](scala.None)
case (value: org.make.core.proposal.Proposal): Some[org.make.core.proposal.Proposal]((proposal @ _)) => cats.implicits.catsSyntaxTuple4Semigroupal[scala.concurrent.Future, Option[org.make.core.user.User], Option[org.make.core.reference.Language], Option[org.make.core.sequence.SequenceConfiguration], Seq[org.make.api.proposal.ProposalActionResponse]](scala.Tuple4.apply[scala.concurrent.Future[Option[org.make.core.user.User]], scala.concurrent.Future[Option[org.make.core.reference.Language]], scala.concurrent.Future[Option[org.make.core.sequence.SequenceConfiguration]], scala.concurrent.Future[Seq[org.make.api.proposal.ProposalActionResponse]]](DefaultProposalServiceComponent.this.userService.getUser(proposal.author), getLanguage(proposal.questionId), getSequenceConfiguration(proposal.questionId), DefaultProposalService.this.getEvents(proposal))).tupled(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.api.proposal.ModerationProposalResponse]](((x0$2: (Option[org.make.core.user.User], Option[org.make.core.reference.Language], Option[org.make.core.sequence.SequenceConfiguration], Seq[org.make.api.proposal.ProposalActionResponse])) => x0$2 match {
case (_1: Option[org.make.core.user.User], _2: Option[org.make.core.reference.Language], _3: Option[org.make.core.sequence.SequenceConfiguration], _4: Seq[org.make.api.proposal.ProposalActionResponse]): (Option[org.make.core.user.User], Option[org.make.core.reference.Language], Option[org.make.core.sequence.SequenceConfiguration], Seq[org.make.api.proposal.ProposalActionResponse])((value: org.make.core.user.User): Some[org.make.core.user.User]((author @ _)), (value: org.make.core.reference.Language): Some[org.make.core.reference.Language]((language @ _)), (value: org.make.core.sequence.SequenceConfiguration): Some[org.make.core.sequence.SequenceConfiguration]((conf @ _)), (events @ _)) => {
val votes: Seq[org.make.api.proposal.ModerationVoteResponse] = proposal.votingOptions.map[Seq[org.make.api.proposal.ModerationVoteResponse]](((votingOptions: org.make.core.proposal.VotingOptions) => {
val scores: org.make.core.proposal.VotingOptionsScores = org.make.core.proposal.VotingOptionsScores.apply(votingOptions, conf.newProposalsVoteThreshold);
votingOptions.wrappers.map[org.make.api.proposal.ModerationVoteResponse](((wrapper: org.make.core.proposal.VotingOptionWrapper) => ModerationVoteResponse.apply(wrapper, scores.get.apply(wrapper.vote.key))))
})).getOrElse[Seq[org.make.api.proposal.ModerationVoteResponse]](scala.`package`.Seq.empty[Nothing]);
scala.Some.apply[org.make.api.proposal.ModerationProposalResponse]({
<artifact> val x$1: org.make.core.proposal.ProposalId = proposal.proposalId;
<artifact> val x$2: org.make.core.proposal.ProposalId = proposal.proposalId;
<artifact> val x$3: String = proposal.slug;
<artifact> val x$4: String = proposal.content;
<artifact> val x$5: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = proposal.contentTranslations;
<artifact> val x$6: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](language));
<artifact> val x$7: org.make.api.proposal.ModerationProposalAuthorResponse = ModerationProposalAuthorResponse.apply(author);
<artifact> val x$8: org.make.core.proposal.ProposalStatus = proposal.status;
<artifact> val x$9: org.make.core.proposal.ProposalType = proposal.proposalType;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = proposal.refusalReason;
<artifact> val x$11: Seq[org.make.core.tag.TagId] @scala.reflect.internal.annotations.uncheckedBounds = proposal.tags;
<artifact> val x$12: Seq[org.make.api.proposal.ModerationVoteResponse] @scala.reflect.internal.annotations.uncheckedBounds = votes;
<artifact> val x$13: org.make.core.RequestContext = proposal.creationContext;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = proposal.createdAt;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = proposal.updatedAt;
<artifact> val x$16: Seq[org.make.api.proposal.ProposalActionResponse] @scala.reflect.internal.annotations.uncheckedBounds = events;
<artifact> val x$17: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = proposal.idea;
<artifact> val x$18: Seq[Nothing] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.empty[Nothing];
<artifact> val x$19: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = proposal.operation;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = proposal.questionId;
<artifact> val x$21: Seq[org.make.core.proposal.ProposalKeyword] @scala.reflect.internal.annotations.uncheckedBounds = proposal.keywords;
<artifact> val x$22: org.make.core.proposal.indexed.Zone = proposal.getZone(conf.mainSequence.sequenceThresholds);
ModerationProposalResponse.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$20, x$19, x$21, x$22)
})
}
case _ => scala.None
}))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
507
|
27965
|
19475
-
19475
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
508
|
23003
|
19499
-
19522
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[None.type](scala.None)
|
|
508
|
25268
|
19517
-
19521
|
Select
|
scala.None
|
|
scala.None
|
|
510
|
25208
|
19564
-
19764
|
Apply
|
scala.Tuple4.apply
|
|
scala.Tuple4.apply[scala.concurrent.Future[Option[org.make.core.user.User]], scala.concurrent.Future[Option[org.make.core.reference.Language]], scala.concurrent.Future[Option[org.make.core.sequence.SequenceConfiguration]], scala.concurrent.Future[Seq[org.make.api.proposal.ProposalActionResponse]]](DefaultProposalServiceComponent.this.userService.getUser(proposal.author), getLanguage(proposal.questionId), getSequenceConfiguration(proposal.questionId), DefaultProposalService.this.getEvents(proposal))
|
|
511
|
24283
|
19578
-
19614
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultProposalServiceComponent.this.userService.getUser(proposal.author)
|
|
511
|
26671
|
19598
-
19613
|
Select
|
org.make.core.proposal.Proposal.author
|
|
proposal.author
|
|
512
|
28248
|
19640
-
19659
|
Select
|
org.make.core.proposal.Proposal.questionId
|
|
proposal.questionId
|
|
512
|
27138
|
19628
-
19660
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.getLanguage
|
|
getLanguage(proposal.questionId)
|
|
513
|
24884
|
19699
-
19718
|
Select
|
org.make.core.proposal.Proposal.questionId
|
|
proposal.questionId
|
|
513
|
22536
|
19674
-
19719
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.getSequenceConfiguration
|
|
getSequenceConfiguration(proposal.questionId)
|
|
514
|
26180
|
19733
-
19752
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.getEvents
|
|
DefaultProposalService.this.getEvents(proposal)
|
|
515
|
24424
|
19765
-
19765
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
515
|
26771
|
19775
-
19775
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
515
|
26681
|
19765
-
19765
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
515
|
23013
|
19765
-
19765
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
515
|
24149
|
19564
-
21462
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
cats.implicits.catsSyntaxTuple4Semigroupal[scala.concurrent.Future, Option[org.make.core.user.User], Option[org.make.core.reference.Language], Option[org.make.core.sequence.SequenceConfiguration], Seq[org.make.api.proposal.ProposalActionResponse]](scala.Tuple4.apply[scala.concurrent.Future[Option[org.make.core.user.User]], scala.concurrent.Future[Option[org.make.core.reference.Language]], scala.concurrent.Future[Option[org.make.core.sequence.SequenceConfiguration]], scala.concurrent.Future[Seq[org.make.api.proposal.ProposalActionResponse]]](DefaultProposalServiceComponent.this.userService.getUser(proposal.author), getLanguage(proposal.questionId), getSequenceConfiguration(proposal.questionId), DefaultProposalService.this.getEvents(proposal))).tupled(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.api.proposal.ModerationProposalResponse]](((x0$2: (Option[org.make.core.user.User], Option[org.make.core.reference.Language], Option[org.make.core.sequence.SequenceConfiguration], Seq[org.make.api.proposal.ProposalActionResponse])) => x0$2 match {
case (_1: Option[org.make.core.user.User], _2: Option[org.make.core.reference.Language], _3: Option[org.make.core.sequence.SequenceConfiguration], _4: Seq[org.make.api.proposal.ProposalActionResponse]): (Option[org.make.core.user.User], Option[org.make.core.reference.Language], Option[org.make.core.sequence.SequenceConfiguration], Seq[org.make.api.proposal.ProposalActionResponse])((value: org.make.core.user.User): Some[org.make.core.user.User]((author @ _)), (value: org.make.core.reference.Language): Some[org.make.core.reference.Language]((language @ _)), (value: org.make.core.sequence.SequenceConfiguration): Some[org.make.core.sequence.SequenceConfiguration]((conf @ _)), (events @ _)) => {
val votes: Seq[org.make.api.proposal.ModerationVoteResponse] = proposal.votingOptions.map[Seq[org.make.api.proposal.ModerationVoteResponse]](((votingOptions: org.make.core.proposal.VotingOptions) => {
val scores: org.make.core.proposal.VotingOptionsScores = org.make.core.proposal.VotingOptionsScores.apply(votingOptions, conf.newProposalsVoteThreshold);
votingOptions.wrappers.map[org.make.api.proposal.ModerationVoteResponse](((wrapper: org.make.core.proposal.VotingOptionWrapper) => ModerationVoteResponse.apply(wrapper, scores.get.apply(wrapper.vote.key))))
})).getOrElse[Seq[org.make.api.proposal.ModerationVoteResponse]](scala.`package`.Seq.empty[Nothing]);
scala.Some.apply[org.make.api.proposal.ModerationProposalResponse]({
<artifact> val x$1: org.make.core.proposal.ProposalId = proposal.proposalId;
<artifact> val x$2: org.make.core.proposal.ProposalId = proposal.proposalId;
<artifact> val x$3: String = proposal.slug;
<artifact> val x$4: String = proposal.content;
<artifact> val x$5: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = proposal.contentTranslations;
<artifact> val x$6: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](language));
<artifact> val x$7: org.make.api.proposal.ModerationProposalAuthorResponse = ModerationProposalAuthorResponse.apply(author);
<artifact> val x$8: org.make.core.proposal.ProposalStatus = proposal.status;
<artifact> val x$9: org.make.core.proposal.ProposalType = proposal.proposalType;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = proposal.refusalReason;
<artifact> val x$11: Seq[org.make.core.tag.TagId] @scala.reflect.internal.annotations.uncheckedBounds = proposal.tags;
<artifact> val x$12: Seq[org.make.api.proposal.ModerationVoteResponse] @scala.reflect.internal.annotations.uncheckedBounds = votes;
<artifact> val x$13: org.make.core.RequestContext = proposal.creationContext;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = proposal.createdAt;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = proposal.updatedAt;
<artifact> val x$16: Seq[org.make.api.proposal.ProposalActionResponse] @scala.reflect.internal.annotations.uncheckedBounds = events;
<artifact> val x$17: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = proposal.idea;
<artifact> val x$18: Seq[Nothing] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.empty[Nothing];
<artifact> val x$19: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = proposal.operation;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = proposal.questionId;
<artifact> val x$21: Seq[org.make.core.proposal.ProposalKeyword] @scala.reflect.internal.annotations.uncheckedBounds = proposal.keywords;
<artifact> val x$22: org.make.core.proposal.indexed.Zone = proposal.getZone(conf.mainSequence.sequenceThresholds);
ModerationProposalResponse.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$20, x$19, x$21, x$22)
})
}
case _ => scala.None
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
515
|
28258
|
19765
-
19765
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
518
|
24737
|
19950
-
20016
|
Apply
|
org.make.core.proposal.VotingOptionsScores.apply
|
|
org.make.core.proposal.VotingOptionsScores.apply(votingOptions, conf.newProposalsVoteThreshold)
|
|
518
|
27074
|
19985
-
20015
|
Select
|
org.make.core.sequence.SequenceConfiguration.newProposalsVoteThreshold
|
|
conf.newProposalsVoteThreshold
|
|
519
|
26152
|
20103
-
20131
|
Apply
|
scala.Function1.apply
|
|
scores.get.apply(wrapper.vote.key)
|
|
519
|
22643
|
20033
-
20133
|
Apply
|
scala.collection.IterableOps.map
|
|
votingOptions.wrappers.map[org.make.api.proposal.ModerationVoteResponse](((wrapper: org.make.core.proposal.VotingOptionWrapper) => ModerationVoteResponse.apply(wrapper, scores.get.apply(wrapper.vote.key))))
|
|
519
|
25217
|
20071
-
20132
|
Apply
|
org.make.api.proposal.ModerationVoteResponse.apply
|
|
ModerationVoteResponse.apply(wrapper, scores.get.apply(wrapper.vote.key))
|
|
519
|
22546
|
20114
-
20130
|
Select
|
org.make.core.proposal.Vote.key
|
|
wrapper.vote.key
|
|
520
|
24437
|
19875
-
20170
|
Apply
|
scala.Option.getOrElse
|
|
proposal.votingOptions.map[Seq[org.make.api.proposal.ModerationVoteResponse]](((votingOptions: org.make.core.proposal.VotingOptions) => {
val scores: org.make.core.proposal.VotingOptionsScores = org.make.core.proposal.VotingOptionsScores.apply(votingOptions, conf.newProposalsVoteThreshold);
votingOptions.wrappers.map[org.make.api.proposal.ModerationVoteResponse](((wrapper: org.make.core.proposal.VotingOptionWrapper) => ModerationVoteResponse.apply(wrapper, scores.get.apply(wrapper.vote.key))))
})).getOrElse[Seq[org.make.api.proposal.ModerationVoteResponse]](scala.`package`.Seq.empty[Nothing])
|
|
520
|
26610
|
20160
-
20169
|
TypeApply
|
scala.collection.SeqFactory.Delegate.empty
|
|
scala.`package`.Seq.empty[Nothing]
|
|
521
|
23941
|
20185
-
21422
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.api.proposal.ModerationProposalResponse]({
<artifact> val x$1: org.make.core.proposal.ProposalId = proposal.proposalId;
<artifact> val x$2: org.make.core.proposal.ProposalId = proposal.proposalId;
<artifact> val x$3: String = proposal.slug;
<artifact> val x$4: String = proposal.content;
<artifact> val x$5: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = proposal.contentTranslations;
<artifact> val x$6: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](language));
<artifact> val x$7: org.make.api.proposal.ModerationProposalAuthorResponse = ModerationProposalAuthorResponse.apply(author);
<artifact> val x$8: org.make.core.proposal.ProposalStatus = proposal.status;
<artifact> val x$9: org.make.core.proposal.ProposalType = proposal.proposalType;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = proposal.refusalReason;
<artifact> val x$11: Seq[org.make.core.tag.TagId] @scala.reflect.internal.annotations.uncheckedBounds = proposal.tags;
<artifact> val x$12: Seq[org.make.api.proposal.ModerationVoteResponse] @scala.reflect.internal.annotations.uncheckedBounds = votes;
<artifact> val x$13: org.make.core.RequestContext = proposal.creationContext;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = proposal.createdAt;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = proposal.updatedAt;
<artifact> val x$16: Seq[org.make.api.proposal.ProposalActionResponse] @scala.reflect.internal.annotations.uncheckedBounds = events;
<artifact> val x$17: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = proposal.idea;
<artifact> val x$18: Seq[Nothing] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.empty[Nothing];
<artifact> val x$19: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = proposal.operation;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = proposal.questionId;
<artifact> val x$21: Seq[org.make.core.proposal.ProposalKeyword] @scala.reflect.internal.annotations.uncheckedBounds = proposal.keywords;
<artifact> val x$22: org.make.core.proposal.indexed.Zone = proposal.getZone(conf.mainSequence.sequenceThresholds);
ModerationProposalResponse.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$20, x$19, x$21, x$22)
})
|
|
522
|
26100
|
20207
-
21406
|
Apply
|
org.make.api.proposal.ModerationProposalResponse.apply
|
|
ModerationProposalResponse.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$20, x$19, x$21, x$22)
|
|
523
|
28018
|
20258
-
20277
|
Select
|
org.make.core.proposal.Proposal.proposalId
|
|
proposal.proposalId
|
|
524
|
27082
|
20310
-
20329
|
Select
|
org.make.core.proposal.Proposal.proposalId
|
|
proposal.proposalId
|
|
525
|
24745
|
20356
-
20369
|
Select
|
org.make.core.proposal.Proposal.slug
|
|
proposal.slug
|
|
526
|
22469
|
20399
-
20415
|
Select
|
org.make.core.proposal.Proposal.content
|
|
proposal.content
|
|
527
|
26163
|
20457
-
20485
|
Select
|
org.make.core.proposal.Proposal.contentTranslations
|
|
proposal.contentTranslations
|
|
528
|
23914
|
20532
-
20580
|
Apply
|
scala.Option.getOrElse
|
|
proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](language)
|
|
528
|
22807
|
20527
-
20581
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.reference.Language](proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](language))
|
|
529
|
26621
|
20610
-
20650
|
Apply
|
org.make.api.proposal.ModerationProposalAuthorResponse.apply
|
|
ModerationProposalAuthorResponse.apply(author)
|
|
530
|
24207
|
20679
-
20694
|
Select
|
org.make.core.proposal.Proposal.status
|
|
proposal.status
|
|
531
|
28032
|
20729
-
20750
|
Select
|
org.make.core.proposal.Proposal.proposalType
|
|
proposal.proposalType
|
|
532
|
26927
|
20786
-
20808
|
Select
|
org.make.core.proposal.Proposal.refusalReason
|
|
proposal.refusalReason
|
|
533
|
24680
|
20835
-
20848
|
Select
|
org.make.core.proposal.Proposal.tags
|
|
proposal.tags
|
|
535
|
22482
|
20911
-
20935
|
Select
|
org.make.core.proposal.Proposal.creationContext
|
|
proposal.creationContext
|
|
536
|
26091
|
20967
-
20985
|
Select
|
org.make.core.proposal.Proposal.createdAt
|
|
proposal.createdAt
|
|
537
|
23928
|
21017
-
21035
|
Select
|
org.make.core.proposal.Proposal.updatedAt
|
|
proposal.updatedAt
|
|
539
|
23009
|
21097
-
21110
|
Select
|
org.make.core.proposal.Proposal.idea
|
|
proposal.idea
|
|
540
|
26559
|
21146
-
21155
|
TypeApply
|
scala.collection.SeqFactory.Delegate.empty
|
|
scala.`package`.Seq.empty[Nothing]
|
|
541
|
24215
|
21189
-
21207
|
Select
|
org.make.core.proposal.Proposal.operation
|
|
proposal.operation
|
|
542
|
28045
|
21240
-
21259
|
Select
|
org.make.core.proposal.Proposal.questionId
|
|
proposal.questionId
|
|
543
|
26013
|
21290
-
21307
|
Select
|
org.make.core.proposal.Proposal.keywords
|
|
proposal.keywords
|
|
544
|
22411
|
21334
-
21388
|
Apply
|
org.make.core.proposal.Proposal.getZone
|
|
proposal.getZone(conf.mainSequence.sequenceThresholds)
|
|
544
|
24892
|
21351
-
21387
|
Select
|
org.make.core.sequence.ExplorationSequenceConfiguration.sequenceThresholds
|
|
conf.mainSequence.sequenceThresholds
|
|
547
|
22941
|
21445
-
21449
|
Select
|
scala.None
|
|
scala.None
|
|
559
|
22464
|
21730
-
21993
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.toModerationProposalResponse
|
|
DefaultProposalService.this.toModerationProposalResponse(DefaultProposalServiceComponent.this.proposalCoordinatorService.updateVotes(moderator, proposalId, requestContext, updatedAt, votes))
|
|
560
|
24816
|
21768
-
21985
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.updateVotes
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.updateVotes(moderator, proposalId, requestContext, updatedAt, votes)
|
|
580
|
22954
|
22370
-
22768
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.toModerationProposalResponse
|
|
DefaultProposalService.this.toModerationProposalResponse({
<artifact> val qual$1: org.make.api.proposal.ProposalCoordinatorService = DefaultProposalServiceComponent.this.proposalCoordinatorService;
<artifact> val x$1: org.make.core.proposal.ProposalId = proposalId;
<artifact> val x$2: org.make.core.user.UserId = moderator;
<artifact> val x$3: org.make.core.RequestContext = requestContext;
<artifact> val x$4: Boolean = sendNotificationEmail;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = newContent;
<artifact> val x$6: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = newContentTranslations;
<artifact> val x$7: org.make.core.question.Question = question;
<artifact> val x$8: Seq[org.make.core.tag.TagId] @scala.reflect.internal.annotations.uncheckedBounds = tags;
qual$1.accept(x$2, x$1, x$3, x$4, x$5, x$6, x$7, x$8)
})
|
|
581
|
26113
|
22408
-
22434
|
Select
|
org.make.api.proposal.ProposalCoordinatorServiceComponent.proposalCoordinatorService
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService
|
|
581
|
24072
|
22408
-
22760
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.accept
|
|
qual$1.accept(x$2, x$1, x$3, x$4, x$5, x$6, x$7, x$8)
|
|
600
|
24827
|
22999
-
23313
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.toModerationProposalResponse
|
|
DefaultProposalService.this.toModerationProposalResponse({
<artifact> val qual$1: org.make.api.proposal.ProposalCoordinatorService = DefaultProposalServiceComponent.this.proposalCoordinatorService;
<artifact> val x$1: org.make.core.proposal.ProposalId = proposalId;
<artifact> val x$2: org.make.core.user.UserId = moderator;
<artifact> val x$3: org.make.core.RequestContext = requestContext;
<artifact> val x$4: Boolean = request.sendNotificationEmail;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.refusalReason;
qual$1.refuse(x$2, x$1, x$3, x$4, x$5)
})
|
|
601
|
26696
|
23037
-
23063
|
Select
|
org.make.api.proposal.ProposalCoordinatorServiceComponent.proposalCoordinatorService
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService
|
|
601
|
25953
|
23037
-
23305
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.refuse
|
|
qual$1.refuse(x$2, x$1, x$3, x$4, x$5)
|
|
605
|
24355
|
23217
-
23246
|
Select
|
org.make.api.proposal.RefuseProposalRequest.sendNotificationEmail
|
|
request.sendNotificationEmail
|
|
606
|
27975
|
23274
-
23295
|
Select
|
org.make.api.proposal.RefuseProposalRequest.refusalReason
|
|
request.refusalReason
|
|
617
|
24084
|
23509
-
23682
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.toModerationProposalResponse
|
|
DefaultProposalService.this.toModerationProposalResponse({
<artifact> val qual$1: org.make.api.proposal.ProposalCoordinatorService = DefaultProposalServiceComponent.this.proposalCoordinatorService;
<artifact> val x$1: org.make.core.proposal.ProposalId = proposalId;
<artifact> val x$2: org.make.core.user.UserId = moderator;
<artifact> val x$3: org.make.core.RequestContext = requestContext;
qual$1.postpone(x$2, x$1, x$3)
})
|
|
618
|
22396
|
23547
-
23573
|
Select
|
org.make.api.proposal.ProposalCoordinatorServiceComponent.proposalCoordinatorService
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService
|
|
619
|
26254
|
23547
-
23674
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.postpone
|
|
qual$1.postpone(x$2, x$1, x$3)
|
|
630
|
27808
|
24029
-
24044
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.core.proposal.ProposalId](proposalId)
|
|
630
|
26557
|
23961
-
24045
|
Apply
|
org.make.api.userhistory.UserHistoryCoordinatorService.retrieveVoteAndQualifications
|
|
DefaultProposalServiceComponent.this.userHistoryCoordinatorService.retrieveVoteAndQualifications(userId, scala.`package`.Seq.apply[org.make.core.proposal.ProposalId](proposalId))
|
|
633
|
27951
|
24077
-
24206
|
Apply
|
org.make.api.sessionhistory.SessionHistoryCoordinatorService.retrieveVoteAndQualifications
|
|
DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.retrieveVoteAndQualifications(sessionId, scala.`package`.Seq.apply[org.make.core.proposal.ProposalId](proposalId))
|
|
633
|
24365
|
24190
-
24205
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.core.proposal.ProposalId](proposalId)
|
|
640
|
25962
|
24367
-
24394
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultProposalServiceComponent.this.userService.getUser(userId)
|
|
641
|
26264
|
24331
-
24437
|
Apply
|
scala.Option.getOrElse
|
|
maybeUserId.map[scala.concurrent.Future[Option[org.make.core.user.User]]](((userId: org.make.core.user.UserId) => DefaultProposalServiceComponent.this.userService.getUser(userId))).getOrElse[scala.concurrent.Future[Option[org.make.core.user.User]]](scala.concurrent.Future.successful[None.type](scala.None))
|
|
641
|
24760
|
24431
-
24435
|
Select
|
scala.None
|
|
scala.None
|
|
641
|
22406
|
24413
-
24436
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[None.type](scala.None)
|
|
655
|
23843
|
24525
-
24872
|
Apply
|
kamon.metric.Counter.increment
|
|
kamon.Kamon.counter("vote_trolls").withTags(kamon.tag.TagSet.from(scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("application").->[String](requestContext.applicationName.fold[String]("unknown")(((x$23: org.make.core.ApplicationName) => x$23.value))), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.flatMap[String](((x$24: String) => scala.Predef.refArrayOps[String](x$24.split(" ")).headOption)).getOrElse[String]("unknown"))))).increment()
|
|
658
|
27819
|
24929
-
25000
|
Apply
|
scala.collection.IterableFactory.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Predef.Set.apply[String]("sequence", "widget", "sequence-popular", "sequence-controversial")
|
|
669
|
25730
|
25264
-
25438
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.generateProposalKeyHash
|
|
DefaultProposalService.this.generateProposalKeyHash(proposalId, requestContext.sessionId, requestContext.location, DefaultProposalServiceComponent.this.securityConfiguration.secureVoteSalt)
|
|
671
|
26567
|
25321
-
25345
|
Select
|
org.make.core.RequestContext.sessionId
|
|
requestContext.sessionId
|
|
672
|
24293
|
25357
-
25380
|
Select
|
org.make.core.RequestContext.location
|
|
requestContext.location
|
|
673
|
27959
|
25392
-
25428
|
Select
|
org.make.api.technical.security.SecurityConfiguration.secureVoteSalt
|
|
DefaultProposalServiceComponent.this.securityConfiguration.secureVoteSalt
|
|
675
|
22419
|
25488
-
25511
|
Select
|
scala.collection.ArrayOps.headOption
|
org.make.api.proposal.proposalservicetest
|
scala.Predef.refArrayOps[String](x$25.split(" ")).headOption
|
|
675
|
26035
|
25456
-
25512
|
Apply
|
scala.Option.flatMap
|
|
requestContext.location.flatMap[String](((x$25: String) => scala.Predef.refArrayOps[String](x$25.split(" ")).headOption))
|
|
675
|
24623
|
25488
-
25500
|
Apply
|
java.lang.String.split
|
org.make.api.proposal.proposalservicetest
|
x$25.split(" ")
|
|
680
|
27590
|
25610
-
25696
|
Apply
|
scala.Option.map
|
org.make.api.proposal.proposalservicetest
|
maybeProposalSegment.map[Boolean](((proposalSegment: String) => userSegment.==(proposalSegment)))
|
|
681
|
23853
|
25666
-
25696
|
Apply
|
java.lang.Object.==
|
org.make.api.proposal.proposalservicetest
|
userSegment.==(proposalSegment)
|
|
682
|
26502
|
25712
-
25720
|
Apply
|
scala.Predef.identity
|
org.make.api.proposal.proposalservicetest
|
scala.Predef.identity[Boolean](x)
|
|
682
|
24302
|
25548
-
25721
|
Apply
|
scala.Option.exists
|
|
maybeUserSegment.flatMap[Boolean](((userSegment: String) => maybeProposalSegment.map[Boolean](((proposalSegment: String) => userSegment.==(proposalSegment))))).exists(((x: Boolean) => scala.Predef.identity[Boolean](x)))
|
|
684
|
25742
|
25746
-
25785
|
Apply
|
scala.Option.exists
|
|
page.exists(((elem: String) => DefaultProposalService.this.sequenceLocations.contains(elem)))
|
|
684
|
27894
|
25758
-
25784
|
Apply
|
scala.collection.SetOps.contains
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalService.this.sequenceLocations.contains(elem)
|
|
687
|
23760
|
25912
-
26015
|
Apply
|
grizzled.slf4j.Logger.warn
|
|
DefaultProposalServiceComponent.this.logger.warn(("No proposal key for proposal ".+(proposalId.value).+(", on context ").+(requestContext.toString()): String))
|
|
688
|
22351
|
26026
-
26063
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.incrementTrollCounter
|
|
DefaultProposalService.this.incrementTrollCounter(requestContext)
|
|
689
|
26045
|
26074
-
26079
|
Select
|
org.make.core.history.HistoryActions.VoteTrust.Troll
|
|
org.make.core.history.HistoryActions.VoteTrust.Troll
|
|
691
|
23777
|
26129
-
26239
|
Apply
|
grizzled.slf4j.Logger.warn
|
|
DefaultProposalServiceComponent.this.logger.warn(("Bad proposal key found for proposal ".+(proposalId.value).+(", on context ").+(requestContext.toString()): String))
|
|
692
|
27805
|
26250
-
26287
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.incrementTrollCounter
|
|
DefaultProposalService.this.incrementTrollCounter(requestContext)
|
|
693
|
26704
|
26298
-
26303
|
Select
|
org.make.core.history.HistoryActions.VoteTrust.Troll
|
|
org.make.core.history.HistoryActions.VoteTrust.Troll
|
|
694
|
24238
|
26348
-
26355
|
Select
|
org.make.core.history.HistoryActions.VoteTrust.Segment
|
org.make.api.proposal.proposalservicetest
|
org.make.core.history.HistoryActions.VoteTrust.Segment
|
|
695
|
27901
|
26400
-
26408
|
Select
|
org.make.core.history.HistoryActions.VoteTrust.Sequence
|
org.make.api.proposal.proposalservicetest
|
org.make.core.history.HistoryActions.VoteTrust.Sequence
|
|
696
|
25662
|
26453
-
26460
|
Select
|
org.make.core.history.HistoryActions.VoteTrust.Trusted
|
|
org.make.core.history.HistoryActions.VoteTrust.Trusted
|
|
701
|
27816
|
26631
-
26631
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
701
|
25573
|
26572
-
26782
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.getProposal(proposalId).flatMap[Option[String]](((x0$1: Option[org.make.core.proposal.Proposal]) => x0$1 match {
case scala.None => scala.concurrent.Future.successful[None.type](scala.None)
case (value: org.make.core.proposal.Proposal): Some[org.make.core.proposal.Proposal]((proposal @ _)) => DefaultProposalServiceComponent.this.segmentService.resolveSegment(proposal.creationContext)
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
702
|
22569
|
26664
-
26687
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[None.type](scala.None)
|
|
702
|
23680
|
26682
-
26686
|
Select
|
scala.None
|
|
scala.None
|
|
703
|
26355
|
26749
-
26773
|
Select
|
org.make.core.proposal.Proposal.creationContext
|
|
proposal.creationContext
|
|
703
|
23785
|
26719
-
26774
|
Apply
|
org.make.api.segment.SegmentService.resolveSegment
|
|
DefaultProposalServiceComponent.this.segmentService.resolveSegment(proposal.creationContext)
|
|
717
|
24289
|
27229
-
27253
|
Select
|
org.make.core.RequestContext.sessionId
|
|
requestContext.sessionId
|
|
717
|
28211
|
27184
-
27254
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.retrieveVoteHistory
|
|
DefaultProposalService.this.retrieveVoteHistory(proposalId, maybeUserId, requestContext.sessionId)
|
|
718
|
25902
|
27280
-
27305
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.retrieveUser
|
|
DefaultProposalService.this.retrieveUser(maybeUserId)
|
|
719
|
23692
|
27342
-
27375
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.getSegmentForProposal
|
|
DefaultProposalService.this.getSegmentForProposal(proposalId)
|
|
720
|
22493
|
27408
-
27453
|
Apply
|
org.make.api.segment.SegmentService.resolveSegment
|
|
DefaultProposalServiceComponent.this.segmentService.resolveSegment(requestContext)
|
|
722
|
27441
|
27463
-
28994
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.getProposal(proposalId).flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((x0$1: Option[org.make.core.proposal.Proposal]) => x0$1 match {
case scala.None => scala.concurrent.Future.successful[None.type](scala.None)
case (value: org.make.core.proposal.Proposal): Some[org.make.core.proposal.Proposal]((proposal @ _)) => proposal.questionId match {
case scala.None => scala.concurrent.Future.successful[None.type](scala.None)
case (value: org.make.core.question.QuestionId): Some[org.make.core.question.QuestionId]((questionId @ _)) => futureVotes.flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((votes: Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]) => futureUser.flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((user: Option[org.make.core.user.User]) => futureProposalSegment.flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((maybeProposalSegment: Option[String]) => futureUserSegment.flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((maybeUserSegment: Option[String]) => DefaultProposalServiceComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId).flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((config: org.make.core.sequence.SequenceConfiguration) => fVote.apply(VoteProposalParams.apply(proposalId, maybeUserId, requestContext, voteKey, user.filter(((x$26: org.make.core.user.User) => x$26.userType.==(org.make.core.user.UserType.UserTypeOrganisation))).map[org.make.core.user.UserId](((x$27: org.make.core.user.User) => x$27.userId)), votes.get(proposalId), DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext), config.newProposalsVoteThreshold)).map[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((vote: Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]) => vote))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
}
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
722
|
23400
|
27522
-
27522
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
723
|
26184
|
27565
-
27569
|
Select
|
scala.None
|
|
scala.None
|
|
723
|
23797
|
27547
-
27570
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[None.type](scala.None)
|
|
725
|
27748
|
27616
-
27635
|
Select
|
org.make.core.proposal.Proposal.questionId
|
|
proposal.questionId
|
|
726
|
25585
|
27689
-
27693
|
Select
|
scala.None
|
|
scala.None
|
|
726
|
24224
|
27671
-
27694
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[None.type](scala.None)
|
|
729
|
28207
|
27795
-
27795
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
729
|
25668
|
27750
-
28970
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
futureVotes.flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((votes: Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]) => futureUser.flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((user: Option[org.make.core.user.User]) => futureProposalSegment.flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((maybeProposalSegment: Option[String]) => futureUserSegment.flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((maybeUserSegment: Option[String]) => DefaultProposalServiceComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId).flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((config: org.make.core.sequence.SequenceConfiguration) => fVote.apply(VoteProposalParams.apply(proposalId, maybeUserId, requestContext, voteKey, user.filter(((x$26: org.make.core.user.User) => x$26.userType.==(org.make.core.user.UserType.UserTypeOrganisation))).map[org.make.core.user.UserId](((x$27: org.make.core.user.User) => x$27.userId)), votes.get(proposalId), DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext), config.newProposalsVoteThreshold)).map[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((vote: Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]) => vote))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
730
|
24249
|
27828
-
28970
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
futureUser.flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((user: Option[org.make.core.user.User]) => futureProposalSegment.flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((maybeProposalSegment: Option[String]) => futureUserSegment.flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((maybeUserSegment: Option[String]) => DefaultProposalServiceComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId).flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((config: org.make.core.sequence.SequenceConfiguration) => fVote.apply(VoteProposalParams.apply(proposalId, maybeUserId, requestContext, voteKey, user.filter(((x$26: org.make.core.user.User) => x$26.userType.==(org.make.core.user.UserType.UserTypeOrganisation))).map[org.make.core.user.UserId](((x$27: org.make.core.user.User) => x$27.userId)), votes.get(proposalId), DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext), config.newProposalsVoteThreshold)).map[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((vote: Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]) => vote))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
730
|
25567
|
27849
-
27849
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
731
|
27523
|
27881
-
28970
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
futureProposalSegment.flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((maybeProposalSegment: Option[String]) => futureUserSegment.flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((maybeUserSegment: Option[String]) => DefaultProposalServiceComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId).flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((config: org.make.core.sequence.SequenceConfiguration) => fVote.apply(VoteProposalParams.apply(proposalId, maybeUserId, requestContext, voteKey, user.filter(((x$26: org.make.core.user.User) => x$26.userType.==(org.make.core.user.UserType.UserTypeOrganisation))).map[org.make.core.user.UserId](((x$27: org.make.core.user.User) => x$27.userId)), votes.get(proposalId), DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext), config.newProposalsVoteThreshold)).map[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((vote: Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]) => vote))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
731
|
23781
|
27902
-
27902
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
732
|
26128
|
27945
-
28970
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
futureUserSegment.flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((maybeUserSegment: Option[String]) => DefaultProposalServiceComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId).flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((config: org.make.core.sequence.SequenceConfiguration) => fVote.apply(VoteProposalParams.apply(proposalId, maybeUserId, requestContext, voteKey, user.filter(((x$26: org.make.core.user.User) => x$26.userType.==(org.make.core.user.UserType.UserTypeOrganisation))).map[org.make.core.user.UserId](((x$27: org.make.core.user.User) => x$27.userId)), votes.get(proposalId), DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext), config.newProposalsVoteThreshold)).map[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((vote: Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]) => vote))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
732
|
27222
|
27966
-
27966
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
733
|
25657
|
28026
-
28026
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
733
|
23470
|
28005
-
28970
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalServiceComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId).flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((config: org.make.core.sequence.SequenceConfiguration) => fVote.apply(VoteProposalParams.apply(proposalId, maybeUserId, requestContext, voteKey, user.filter(((x$26: org.make.core.user.User) => x$26.userType.==(org.make.core.user.UserType.UserTypeOrganisation))).map[org.make.core.user.UserId](((x$27: org.make.core.user.User) => x$27.userId)), votes.get(proposalId), DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext), config.newProposalsVoteThreshold)).map[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((vote: Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]) => vote))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
734
|
28063
|
28125
-
28970
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
fVote.apply(VoteProposalParams.apply(proposalId, maybeUserId, requestContext, voteKey, user.filter(((x$26: org.make.core.user.User) => x$26.userType.==(org.make.core.user.UserType.UserTypeOrganisation))).map[org.make.core.user.UserId](((x$27: org.make.core.user.User) => x$27.userId)), votes.get(proposalId), DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext), config.newProposalsVoteThreshold)).map[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((vote: Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]) => vote))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
734
|
24233
|
28130
-
28130
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
735
|
25504
|
28160
-
28921
|
Apply
|
org.make.api.proposal.VoteProposalParams.apply
|
|
VoteProposalParams.apply(proposalId, maybeUserId, requestContext, voteKey, user.filter(((x$26: org.make.core.user.User) => x$26.userType.==(org.make.core.user.UserType.UserTypeOrganisation))).map[org.make.core.user.UserId](((x$27: org.make.core.user.User) => x$27.userId)), votes.get(proposalId), DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext), config.newProposalsVoteThreshold)
|
|
740
|
22348
|
28416
-
28486
|
Apply
|
scala.Option.map
|
|
user.filter(((x$26: org.make.core.user.User) => x$26.userType.==(org.make.core.user.UserType.UserTypeOrganisation))).map[org.make.core.user.UserId](((x$27: org.make.core.user.User) => x$27.userId))
|
|
740
|
28054
|
28442
-
28471
|
Select
|
org.make.core.user.UserType.UserTypeOrganisation
|
|
org.make.core.user.UserType.UserTypeOrganisation
|
|
740
|
23616
|
28477
-
28485
|
Select
|
org.make.core.user.User.userId
|
|
x$27.userId
|
|
740
|
25908
|
28428
-
28471
|
Apply
|
java.lang.Object.==
|
|
x$26.userType.==(org.make.core.user.UserType.UserTypeOrganisation)
|
|
741
|
26112
|
28517
-
28538
|
Apply
|
scala.collection.MapOps.get
|
|
votes.get(proposalId)
|
|
742
|
23772
|
28574
-
28815
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.resolveVoteTrust
|
|
DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext)
|
|
749
|
27754
|
28867
-
28899
|
Select
|
org.make.core.sequence.SequenceConfiguration.newProposalsVoteThreshold
|
|
config.newProposalsVoteThreshold
|
|
758
|
25976
|
29042
-
29042
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
758
|
26140
|
29097
-
29121
|
Select
|
org.make.core.RequestContext.sessionId
|
org.make.api.proposal.proposalservicetest
|
requestContext.sessionId
|
|
758
|
23611
|
29023
-
29285
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.lockSessionForVote(requestContext.sessionId, proposalId).flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((x$29: Unit) => (x$29: Unit @unchecked) match {
case _ => runVote.flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((vote: Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]) => DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForVote(requestContext.sessionId, proposalId).map[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => vote
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
759
|
28218
|
29143
-
29285
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
runVote.flatMap[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((vote: Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]) => DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForVote(requestContext.sessionId, proposalId).map[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => vote
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
759
|
24377
|
29148
-
29148
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
760
|
27531
|
29172
-
29172
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
760
|
25488
|
29167
-
29285
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForVote(requestContext.sessionId, proposalId).map[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => vote
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
760
|
24094
|
29229
-
29253
|
Select
|
org.make.core.RequestContext.sessionId
|
|
requestContext.sessionId
|
|
763
|
25985
|
29293
-
29564
|
ApplyToImplicitArgs
|
scala.concurrent.Future.recoverWith
|
org.make.api.proposal.proposalservicetest
|
result.recoverWith[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Throwable,scala.concurrent.Future[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]]] with java.io.Serializable {
def <init>(): <$anon: Throwable => scala.concurrent.Future[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]]> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Throwable, B1 >: scala.concurrent.Future[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]]](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case (e @ (_: org.make.api.sessionhistory.ConcurrentModification)) => scala.concurrent.Future.failed[Nothing](e)
case (other @ _) => DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForVote(requestContext.sessionId, proposalId).flatMap[Nothing](((x$30: Unit) => scala.concurrent.Future.failed[Nothing](other)))(scala.concurrent.ExecutionContext.Implicits.global)
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Throwable): Boolean = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case (e @ (_: org.make.api.sessionhistory.ConcurrentModification)) => true
case (other @ _) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Throwable,scala.concurrent.Future[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]]]))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
763
|
27970
|
29312
-
29312
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
763
|
23334
|
29312
-
29312
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.$anonfun.<init>
|
org.make.api.proposal.proposalservicetest
|
new $anonfun()
|
|
764
|
27452
|
29356
-
29372
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](e)
|
|
766
|
25500
|
29405
-
29556
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForVote(requestContext.sessionId, proposalId).flatMap[Nothing](((x$30: Unit) => scala.concurrent.Future.failed[Nothing](other)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
766
|
27829
|
29505
-
29505
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
766
|
26108
|
29459
-
29483
|
Select
|
org.make.core.RequestContext.sessionId
|
|
requestContext.sessionId
|
|
767
|
24103
|
29524
-
29544
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](other)
|
|
780
|
23550
|
29892
-
29923
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.vote
|
|
eta$0$1.vote(params)
|
|
780
|
27376
|
29815
-
29924
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.fVoteProposal
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalService.this.fVoteProposal(proposalId, maybeUserId, requestContext, voteKey, proposalKey, {
<synthetic> val eta$0$1: org.make.api.proposal.ProposalCoordinatorService = DefaultProposalServiceComponent.this.proposalCoordinatorService;
((params: org.make.api.proposal.VoteProposalParams) => eta$0$1.vote(params))
})
|
|
789
|
23868
|
30170
-
30281
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.fVoteProposal
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalService.this.fVoteProposal(proposalId, maybeUserId, requestContext, voteKey, proposalKey, {
<synthetic> val eta$0$1: org.make.api.proposal.ProposalCoordinatorService = DefaultProposalServiceComponent.this.proposalCoordinatorService;
((params: org.make.api.proposal.VoteProposalParams) => eta$0$1.unvote(params))
})
|
|
789
|
26123
|
30247
-
30280
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.unvote
|
|
eta$0$1.unvote(params)
|
|
801
|
24988
|
30577
-
31615
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.lockSessionForQualification(requestContext.sessionId, proposalId, qualificationKey).flatMap[Option[org.make.core.proposal.Qualification]](((x$32: Unit) => (x$32: Unit @unchecked) match {
case _ => DefaultProposalService.this.retrieveVoteHistory(proposalId, maybeUserId, requestContext.sessionId).flatMap[Option[org.make.core.proposal.Qualification]](((votes: Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]) => DefaultProposalServiceComponent.this.segmentService.resolveSegment(requestContext).flatMap[Option[org.make.core.proposal.Qualification]](((maybeUserSegment: Option[String]) => DefaultProposalService.this.getSegmentForProposal(proposalId).flatMap[Option[org.make.core.proposal.Qualification]](((maybeProposalSegment: Option[String]) => DefaultProposalServiceComponent.this.proposalCoordinatorService.qualification(proposalId, maybeUserId, requestContext, voteKey, qualificationKey, votes.get(proposalId), DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext)).flatMap[Option[org.make.core.proposal.Qualification]](((qualify: Option[org.make.core.proposal.Qualification]) => DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForQualification(requestContext.sessionId, proposalId, qualificationKey).map[Option[org.make.core.proposal.Qualification]](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => qualify
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
801
|
27307
|
30593
-
30593
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
802
|
27696
|
30668
-
30692
|
Select
|
org.make.core.RequestContext.sessionId
|
org.make.api.proposal.proposalservicetest
|
requestContext.sessionId
|
|
806
|
25970
|
30782
-
30782
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
806
|
23405
|
30761
-
31615
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalService.this.retrieveVoteHistory(proposalId, maybeUserId, requestContext.sessionId).flatMap[Option[org.make.core.proposal.Qualification]](((votes: Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]) => DefaultProposalServiceComponent.this.segmentService.resolveSegment(requestContext).flatMap[Option[org.make.core.proposal.Qualification]](((maybeUserSegment: Option[String]) => DefaultProposalService.this.getSegmentForProposal(proposalId).flatMap[Option[org.make.core.proposal.Qualification]](((maybeProposalSegment: Option[String]) => DefaultProposalServiceComponent.this.proposalCoordinatorService.qualification(proposalId, maybeUserId, requestContext, voteKey, qualificationKey, votes.get(proposalId), DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext)).flatMap[Option[org.make.core.proposal.Qualification]](((qualify: Option[org.make.core.proposal.Qualification]) => DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForQualification(requestContext.sessionId, proposalId, qualificationKey).map[Option[org.make.core.proposal.Qualification]](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => qualify
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
806
|
25513
|
30830
-
30854
|
Select
|
org.make.core.RequestContext.sessionId
|
|
requestContext.sessionId
|
|
807
|
23104
|
30885
-
30885
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
807
|
27912
|
30864
-
31615
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalServiceComponent.this.segmentService.resolveSegment(requestContext).flatMap[Option[org.make.core.proposal.Qualification]](((maybeUserSegment: Option[String]) => DefaultProposalService.this.getSegmentForProposal(proposalId).flatMap[Option[org.make.core.proposal.Qualification]](((maybeProposalSegment: Option[String]) => DefaultProposalServiceComponent.this.proposalCoordinatorService.qualification(proposalId, maybeUserId, requestContext, voteKey, qualificationKey, votes.get(proposalId), DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext)).flatMap[Option[org.make.core.proposal.Qualification]](((qualify: Option[org.make.core.proposal.Qualification]) => DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForQualification(requestContext.sessionId, proposalId, qualificationKey).map[Option[org.make.core.proposal.Qualification]](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => qualify
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
808
|
25437
|
30942
-
31615
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalService.this.getSegmentForProposal(proposalId).flatMap[Option[org.make.core.proposal.Qualification]](((maybeProposalSegment: Option[String]) => DefaultProposalServiceComponent.this.proposalCoordinatorService.qualification(proposalId, maybeUserId, requestContext, voteKey, qualificationKey, votes.get(proposalId), DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext)).flatMap[Option[org.make.core.proposal.Qualification]](((qualify: Option[org.make.core.proposal.Qualification]) => DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForQualification(requestContext.sessionId, proposalId, qualificationKey).map[Option[org.make.core.proposal.Qualification]](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => qualify
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
808
|
27526
|
30963
-
30963
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
809
|
23879
|
31008
-
31615
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.qualification(proposalId, maybeUserId, requestContext, voteKey, qualificationKey, votes.get(proposalId), DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext)).flatMap[Option[org.make.core.proposal.Qualification]](((qualify: Option[org.make.core.proposal.Qualification]) => DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForQualification(requestContext.sessionId, proposalId, qualificationKey).map[Option[org.make.core.proposal.Qualification]](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => qualify
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
809
|
24979
|
31016
-
31016
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
815
|
23264
|
31269
-
31290
|
Apply
|
scala.collection.MapOps.get
|
|
votes.get(proposalId)
|
|
816
|
27983
|
31314
-
31411
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.resolveVoteTrust
|
|
DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext)
|
|
818
|
23559
|
31432
-
31432
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
818
|
27389
|
31430
-
31615
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForQualification(requestContext.sessionId, proposalId, qualificationKey).map[Option[org.make.core.proposal.Qualification]](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => qualify
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
819
|
25755
|
31509
-
31533
|
Select
|
org.make.core.RequestContext.sessionId
|
|
requestContext.sessionId
|
|
825
|
25980
|
31642
-
31642
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.$anonfun.<init>
|
org.make.api.proposal.proposalservicetest
|
new $anonfun()
|
|
825
|
23704
|
31642
-
31642
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
825
|
27370
|
31623
-
31951
|
ApplyToImplicitArgs
|
scala.concurrent.Future.recoverWith
|
org.make.api.proposal.proposalservicetest
|
result.recoverWith[Option[org.make.core.proposal.Qualification]](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Throwable,scala.concurrent.Future[Option[org.make.core.proposal.Qualification]]] with java.io.Serializable {
def <init>(): <$anon: Throwable => scala.concurrent.Future[Option[org.make.core.proposal.Qualification]]> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Throwable, B1 >: scala.concurrent.Future[Option[org.make.core.proposal.Qualification]]](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case (e @ (_: org.make.api.sessionhistory.ConcurrentModification)) => scala.concurrent.Future.failed[Nothing](e)
case (other @ _) => DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForQualification(requestContext.sessionId, proposalId, qualificationKey).flatMap[Nothing](((x$33: Unit) => scala.concurrent.Future.failed[Nothing](other)))(scala.concurrent.ExecutionContext.Implicits.global)
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Throwable): Boolean = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case (e @ (_: org.make.api.sessionhistory.ConcurrentModification)) => true
case (other @ _) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Throwable,scala.concurrent.Future[Option[org.make.core.proposal.Qualification]]]))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
826
|
23800
|
31686
-
31702
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](e)
|
|
829
|
27824
|
31811
-
31835
|
Select
|
org.make.core.RequestContext.sessionId
|
|
requestContext.sessionId
|
|
830
|
27922
|
31735
-
31943
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForQualification(requestContext.sessionId, proposalId, qualificationKey).flatMap[Nothing](((x$33: Unit) => scala.concurrent.Future.failed[Nothing](other)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
830
|
23037
|
31888
-
31888
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
831
|
25293
|
31909
-
31929
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](other)
|
|
847
|
25928
|
32272
-
32272
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
847
|
23643
|
32256
-
33320
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.lockSessionForQualification(requestContext.sessionId, proposalId, qualificationKey).flatMap[Option[org.make.core.proposal.Qualification]](((x$35: Unit) => (x$35: Unit @unchecked) match {
case _ => DefaultProposalService.this.retrieveVoteHistory(proposalId, maybeUserId, requestContext.sessionId).flatMap[Option[org.make.core.proposal.Qualification]](((votes: Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]) => DefaultProposalServiceComponent.this.segmentService.resolveSegment(requestContext).flatMap[Option[org.make.core.proposal.Qualification]](((maybeUserSegment: Option[String]) => DefaultProposalService.this.getSegmentForProposal(proposalId).flatMap[Option[org.make.core.proposal.Qualification]](((maybeProposalSegment: Option[String]) => DefaultProposalServiceComponent.this.proposalCoordinatorService.unqualification(proposalId, maybeUserId, requestContext, voteKey, qualificationKey, votes.get(proposalId), DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext)).flatMap[Option[org.make.core.proposal.Qualification]](((removeQualification: Option[org.make.core.proposal.Qualification]) => DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForQualification(requestContext.sessionId, proposalId, qualificationKey).map[Option[org.make.core.proposal.Qualification]](((x$34: Unit) => (x$34: Unit @unchecked) match {
case _ => removeQualification
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
848
|
24919
|
32347
-
32371
|
Select
|
org.make.core.RequestContext.sessionId
|
org.make.api.proposal.proposalservicetest
|
requestContext.sessionId
|
|
852
|
26860
|
32440
-
33320
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalService.this.retrieveVoteHistory(proposalId, maybeUserId, requestContext.sessionId).flatMap[Option[org.make.core.proposal.Qualification]](((votes: Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]) => DefaultProposalServiceComponent.this.segmentService.resolveSegment(requestContext).flatMap[Option[org.make.core.proposal.Qualification]](((maybeUserSegment: Option[String]) => DefaultProposalService.this.getSegmentForProposal(proposalId).flatMap[Option[org.make.core.proposal.Qualification]](((maybeProposalSegment: Option[String]) => DefaultProposalServiceComponent.this.proposalCoordinatorService.unqualification(proposalId, maybeUserId, requestContext, voteKey, qualificationKey, votes.get(proposalId), DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext)).flatMap[Option[org.make.core.proposal.Qualification]](((removeQualification: Option[org.make.core.proposal.Qualification]) => DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForQualification(requestContext.sessionId, proposalId, qualificationKey).map[Option[org.make.core.proposal.Qualification]](((x$34: Unit) => (x$34: Unit @unchecked) match {
case _ => removeQualification
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
852
|
24040
|
32509
-
32533
|
Select
|
org.make.core.RequestContext.sessionId
|
|
requestContext.sessionId
|
|
852
|
23178
|
32461
-
32461
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
853
|
27766
|
32564
-
32564
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
853
|
25432
|
32543
-
33320
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalServiceComponent.this.segmentService.resolveSegment(requestContext).flatMap[Option[org.make.core.proposal.Qualification]](((maybeUserSegment: Option[String]) => DefaultProposalService.this.getSegmentForProposal(proposalId).flatMap[Option[org.make.core.proposal.Qualification]](((maybeProposalSegment: Option[String]) => DefaultProposalServiceComponent.this.proposalCoordinatorService.unqualification(proposalId, maybeUserId, requestContext, voteKey, qualificationKey, votes.get(proposalId), DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext)).flatMap[Option[org.make.core.proposal.Qualification]](((removeQualification: Option[org.make.core.proposal.Qualification]) => DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForQualification(requestContext.sessionId, proposalId, qualificationKey).map[Option[org.make.core.proposal.Qualification]](((x$34: Unit) => (x$34: Unit @unchecked) match {
case _ => removeQualification
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
854
|
24050
|
32621
-
33320
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalService.this.getSegmentForProposal(proposalId).flatMap[Option[org.make.core.proposal.Qualification]](((maybeProposalSegment: Option[String]) => DefaultProposalServiceComponent.this.proposalCoordinatorService.unqualification(proposalId, maybeUserId, requestContext, voteKey, qualificationKey, votes.get(proposalId), DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext)).flatMap[Option[org.make.core.proposal.Qualification]](((removeQualification: Option[org.make.core.proposal.Qualification]) => DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForQualification(requestContext.sessionId, proposalId, qualificationKey).map[Option[org.make.core.proposal.Qualification]](((x$34: Unit) => (x$34: Unit @unchecked) match {
case _ => removeQualification
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
854
|
25148
|
32642
-
32642
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
855
|
27297
|
32687
-
33320
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.unqualification(proposalId, maybeUserId, requestContext, voteKey, qualificationKey, votes.get(proposalId), DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext)).flatMap[Option[org.make.core.proposal.Qualification]](((removeQualification: Option[org.make.core.proposal.Qualification]) => DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForQualification(requestContext.sessionId, proposalId, qualificationKey).map[Option[org.make.core.proposal.Qualification]](((x$34: Unit) => (x$34: Unit @unchecked) match {
case _ => removeQualification
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
855
|
23711
|
32707
-
32707
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
861
|
27835
|
32962
-
32983
|
Apply
|
scala.collection.MapOps.get
|
|
votes.get(proposalId)
|
|
862
|
25595
|
33007
-
33104
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.resolveVoteTrust
|
|
DefaultProposalService.this.resolveVoteTrust(proposalKey, proposalId, maybeUserSegment, maybeProposalSegment, requestContext)
|
|
864
|
25918
|
33123
-
33320
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForQualification(requestContext.sessionId, proposalId, qualificationKey).map[Option[org.make.core.proposal.Qualification]](((x$34: Unit) => (x$34: Unit @unchecked) match {
case _ => removeQualification
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
864
|
26800
|
33125
-
33125
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
865
|
23258
|
33202
-
33226
|
Select
|
org.make.core.RequestContext.sessionId
|
|
requestContext.sessionId
|
|
871
|
26872
|
33347
-
33347
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
871
|
25681
|
33328
-
33656
|
ApplyToImplicitArgs
|
scala.concurrent.Future.recoverWith
|
org.make.api.proposal.proposalservicetest
|
result.recoverWith[Option[org.make.core.proposal.Qualification]](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Throwable,scala.concurrent.Future[Option[org.make.core.proposal.Qualification]]] with java.io.Serializable {
def <init>(): <$anon: Throwable => scala.concurrent.Future[Option[org.make.core.proposal.Qualification]]> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Throwable, B1 >: scala.concurrent.Future[Option[org.make.core.proposal.Qualification]]](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case (e @ (_: org.make.api.sessionhistory.ConcurrentModification)) => scala.concurrent.Future.failed[Nothing](e)
case (other @ _) => DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForQualification(requestContext.sessionId, proposalId, qualificationKey).flatMap[Nothing](((x$36: Unit) => scala.concurrent.Future.failed[Nothing](other)))(scala.concurrent.ExecutionContext.Implicits.global)
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Throwable): Boolean = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case (e @ (_: org.make.api.sessionhistory.ConcurrentModification)) => true
case (other @ _) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Throwable,scala.concurrent.Future[Option[org.make.core.proposal.Qualification]]]))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
871
|
23192
|
33347
-
33347
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.$anonfun.<init>
|
org.make.api.proposal.proposalservicetest
|
new $anonfun()
|
|
872
|
27304
|
33391
-
33407
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](e)
|
|
875
|
25157
|
33516
-
33540
|
Select
|
org.make.core.RequestContext.sessionId
|
|
requestContext.sessionId
|
|
876
|
27778
|
33593
-
33593
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
876
|
25373
|
33440
-
33648
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalServiceComponent.this.sessionHistoryCoordinatorService.unlockSessionForQualification(requestContext.sessionId, proposalId, qualificationKey).flatMap[Nothing](((x$36: Unit) => scala.concurrent.Future.failed[Nothing](other)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
877
|
23793
|
33614
-
33634
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](other)
|
|
890
|
25078
|
33901
-
33901
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
890
|
23502
|
33861
-
34071
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.lock
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.lock(proposalId, moderatorId, moderatorFullName, requestContext)
|
|
890
|
27239
|
33901
-
33901
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
896
|
22741
|
33861
-
34085
|
Select
|
cats.Functor.Ops.void
|
|
cats.implicits.toFunctorOps[scala.concurrent.Future, Option[org.make.core.user.UserId]](DefaultProposalServiceComponent.this.proposalCoordinatorService.lock(proposalId, moderatorId, moderatorFullName, requestContext))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).void
|
|
906
|
27543
|
34334
-
34335
|
Literal
|
<nosymbol>
|
|
5
|
|
908
|
25381
|
34366
-
34579
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.lock
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.lock(id, moderatorId, moderatorFullName, requestContext)
|
|
915
|
27250
|
34606
-
34606
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
915
|
24923
|
34606
-
34606
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
915
|
23203
|
34607
-
34615
|
TypeApply
|
akka.stream.scaladsl.Sink.seq
|
|
akka.stream.scaladsl.Sink.seq[Option[org.make.core.user.UserId]]
|
|
915
|
23623
|
34296
-
34616
|
ApplyToImplicitArgs
|
akka.stream.scaladsl.Source.runWith
|
|
akka.stream.scaladsl.Source.apply[org.make.core.proposal.ProposalId](proposalIds).mapAsync[Option[org.make.core.user.UserId]](5)(((id: org.make.core.proposal.ProposalId) => DefaultProposalServiceComponent.this.proposalCoordinatorService.lock(id, moderatorId, moderatorFullName, requestContext))).runWith[scala.concurrent.Future[Seq[Option[org.make.core.user.UserId]]]](akka.stream.scaladsl.Sink.seq[Option[org.make.core.user.UserId]])(stream.this.Materializer.matFromSystem(DefaultProposalServiceComponent.this.actorSystem))
|
|
915
|
26796
|
34606
-
34606
|
Select
|
org.make.api.technical.ActorSystemComponent.actorSystem
|
|
DefaultProposalServiceComponent.this.actorSystem
|
|
915
|
25695
|
34606
-
34606
|
ApplyToImplicitArgs
|
akka.stream.Materializer.matFromSystem
|
|
stream.this.Materializer.matFromSystem(DefaultProposalServiceComponent.this.actorSystem)
|
|
916
|
22668
|
34296
-
34630
|
Select
|
cats.Functor.Ops.void
|
|
cats.implicits.toFunctorOps[scala.concurrent.Future, Seq[Option[org.make.core.user.UserId]]](akka.stream.scaladsl.Source.apply[org.make.core.proposal.ProposalId](proposalIds).mapAsync[Option[org.make.core.user.UserId]](5)(((id: org.make.core.proposal.ProposalId) => DefaultProposalServiceComponent.this.proposalCoordinatorService.lock(id, moderatorId, moderatorFullName, requestContext))).runWith[scala.concurrent.Future[Seq[Option[org.make.core.user.UserId]]]](akka.stream.scaladsl.Sink.seq[Option[org.make.core.user.UserId]])(stream.this.Materializer.matFromSystem(DefaultProposalServiceComponent.this.actorSystem)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).void
|
|
926
|
25600
|
34953
-
35136
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.toModerationProposalResponse
|
|
DefaultProposalService.this.toModerationProposalResponse(DefaultProposalServiceComponent.this.proposalCoordinatorService.patch(proposalId, userId, changes, requestContext))
|
|
928
|
27761
|
34991
-
35128
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.patch
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.patch(proposalId, userId, changes, requestContext)
|
|
938
|
24709
|
35329
-
35329
|
TypeApply
|
scala.collection.BuildFromLowPriority2.buildFromIterableOps
|
|
collection.this.BuildFrom.buildFromIterableOps[Seq, scala.concurrent.Future[Option[org.make.core.proposal.Proposal]], Option[org.make.core.proposal.Proposal]]
|
|
938
|
23578
|
35329
-
35329
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
938
|
26957
|
35330
-
35615
|
Apply
|
scala.collection.IterableOps.map
|
|
proposalIds.map[scala.concurrent.Future[Option[org.make.core.proposal.Proposal]]](((proposalId: org.make.core.proposal.ProposalId) => DefaultProposalServiceComponent.this.proposalCoordinatorService.patch(proposalId, moderatorId, {
<artifact> val x$1: Some[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.idea.IdeaId](ideaId);
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$1;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$2;
<artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$3;
<artifact> val x$5: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$4;
<artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$5;
<artifact> val x$7: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$6;
<artifact> val x$8: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$7;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$8;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$9;
<artifact> val x$11: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$10;
<artifact> val x$12: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$11;
<artifact> val x$13: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$12;
<artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$14;
<artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$15;
<artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$16;
PatchProposalRequest.apply(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$1, x$14, x$15, x$16)
}, org.make.core.RequestContext.empty)))
|
|
939
|
23114
|
35372
-
35605
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.patch
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.patch(proposalId, moderatorId, {
<artifact> val x$1: Some[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.idea.IdeaId](ideaId);
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$1;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$2;
<artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$3;
<artifact> val x$5: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$4;
<artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$5;
<artifact> val x$7: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$6;
<artifact> val x$8: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$7;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$8;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$9;
<artifact> val x$11: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$10;
<artifact> val x$12: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$11;
<artifact> val x$13: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$12;
<artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$14;
<artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$15;
<artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$16;
PatchProposalRequest.apply(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$1, x$14, x$15, x$16)
}, org.make.core.RequestContext.empty)
|
|
942
|
24552
|
35499
-
35499
|
Select
|
org.make.api.proposal.PatchProposalRequest.apply$default$2
|
|
PatchProposalRequest.apply$default$2
|
|
942
|
25243
|
35499
-
35499
|
Select
|
org.make.api.proposal.PatchProposalRequest.apply$default$5
|
|
PatchProposalRequest.apply$default$5
|
|
942
|
25072
|
35499
-
35499
|
Select
|
org.make.api.proposal.PatchProposalRequest.apply$default$15
|
|
PatchProposalRequest.apply$default$15
|
|
942
|
27396
|
35499
-
35499
|
Select
|
org.make.api.proposal.PatchProposalRequest.apply$default$14
|
|
PatchProposalRequest.apply$default$14
|
|
942
|
25526
|
35499
-
35499
|
Select
|
org.make.api.proposal.PatchProposalRequest.apply$default$8
|
|
PatchProposalRequest.apply$default$8
|
|
942
|
23636
|
35499
-
35499
|
Select
|
org.make.api.proposal.PatchProposalRequest.apply$default$3
|
|
PatchProposalRequest.apply$default$3
|
|
942
|
27470
|
35499
-
35499
|
Select
|
org.make.api.proposal.PatchProposalRequest.apply$default$4
|
|
PatchProposalRequest.apply$default$4
|
|
942
|
23648
|
35499
-
35499
|
Select
|
org.make.api.proposal.PatchProposalRequest.apply$default$12
|
|
PatchProposalRequest.apply$default$12
|
|
942
|
24775
|
35499
-
35499
|
Select
|
org.make.api.proposal.PatchProposalRequest.apply$default$11
|
|
PatchProposalRequest.apply$default$11
|
|
942
|
23127
|
35529
-
35541
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.idea.IdeaId](ideaId)
|
|
942
|
27714
|
35499
-
35542
|
Apply
|
org.make.api.proposal.PatchProposalRequest.apply
|
|
PatchProposalRequest.apply(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$1, x$14, x$15, x$16)
|
|
942
|
26808
|
35499
-
35499
|
Select
|
org.make.api.proposal.PatchProposalRequest.apply$default$1
|
|
PatchProposalRequest.apply$default$1
|
|
942
|
22681
|
35499
-
35499
|
Select
|
org.make.api.proposal.PatchProposalRequest.apply$default$6
|
|
PatchProposalRequest.apply$default$6
|
|
942
|
22983
|
35499
-
35499
|
Select
|
org.make.api.proposal.PatchProposalRequest.apply$default$16
|
|
PatchProposalRequest.apply$default$16
|
|
942
|
27110
|
35499
-
35499
|
Select
|
org.make.api.proposal.PatchProposalRequest.apply$default$10
|
|
PatchProposalRequest.apply$default$10
|
|
942
|
23183
|
35499
-
35499
|
Select
|
org.make.api.proposal.PatchProposalRequest.apply$default$9
|
|
PatchProposalRequest.apply$default$9
|
|
942
|
27705
|
35499
-
35499
|
Select
|
org.make.api.proposal.PatchProposalRequest.apply$default$7
|
|
PatchProposalRequest.apply$default$7
|
|
943
|
25535
|
35573
-
35593
|
Select
|
org.make.core.RequestContext.empty
|
|
org.make.core.RequestContext.empty
|
|
946
|
26666
|
35305
-
35640
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
scala.concurrent.Future.sequence[Option[org.make.core.proposal.Proposal], Seq, Seq[Option[org.make.core.proposal.Proposal]]](proposalIds.map[scala.concurrent.Future[Option[org.make.core.proposal.Proposal]]](((proposalId: org.make.core.proposal.ProposalId) => DefaultProposalServiceComponent.this.proposalCoordinatorService.patch(proposalId, moderatorId, {
<artifact> val x$1: Some[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.idea.IdeaId](ideaId);
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$1;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$2;
<artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$3;
<artifact> val x$5: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$4;
<artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$5;
<artifact> val x$7: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$6;
<artifact> val x$8: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$7;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$8;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$9;
<artifact> val x$11: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$10;
<artifact> val x$12: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$11;
<artifact> val x$13: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$12;
<artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$14;
<artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$15;
<artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$16;
PatchProposalRequest.apply(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$1, x$14, x$15, x$16)
}, org.make.core.RequestContext.empty))))(collection.this.BuildFrom.buildFromIterableOps[Seq, scala.concurrent.Future[Option[org.make.core.proposal.Proposal]], Option[org.make.core.proposal.Proposal]], scala.concurrent.ExecutionContext.Implicits.global).map[Seq[org.make.core.proposal.Proposal]](((x$37: Seq[Option[org.make.core.proposal.Proposal]]) => x$37.flatten[org.make.core.proposal.Proposal](scala.Predef.$conforms[Option[org.make.core.proposal.Proposal]])))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
946
|
24999
|
35630
-
35639
|
ApplyToImplicitArgs
|
scala.collection.IterableOps.flatten
|
|
x$37.flatten[org.make.core.proposal.Proposal](scala.Predef.$conforms[Option[org.make.core.proposal.Proposal]])
|
|
946
|
27245
|
35632
-
35632
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[Option[org.make.core.proposal.Proposal]]
|
|
946
|
22663
|
35629
-
35629
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
957
|
27313
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$10
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$10
|
|
957
|
24322
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$27
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$27
|
|
957
|
24950
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$11
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$11
|
|
957
|
26442
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$2
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$2
|
|
957
|
22988
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$13
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$13
|
|
957
|
27055
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$20
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$20
|
|
957
|
24797
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$30
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$30
|
|
957
|
24934
|
35906
-
36359
|
Block
|
<nosymbol>
|
org.make.api.proposal.proposalservicetest
|
{
<artifact> val x$1: Some[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.QuestionSearchFilter](org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)));
<artifact> val x$2: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = languages.map[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]](((x$38: cats.data.NonEmptyList[org.make.core.reference.Language]) => x$38.map[org.make.core.proposal.LanguageSearchFilter](org.make.core.proposal.LanguageSearchFilter)));
<artifact> val x$3: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.proposal.ProposalStatus.Accepted.type](org.make.core.proposal.ProposalStatus.Accepted)));
<artifact> val x$4: Some[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.ToEnrichSearchFilter](org.make.core.proposal.ToEnrichSearchFilter.apply(toEnrich));
<artifact> val x$5: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = minVotesCount.map[org.make.core.proposal.MinVotesCountSearchFilter](((minVotesCount: Int) => org.make.core.proposal.MinVotesCountSearchFilter.apply(minVotesCount)));
<artifact> val x$6: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = minScore.map[org.make.core.proposal.MinScoreSearchFilter](((minScore: Double) => org.make.core.proposal.MinScoreSearchFilter.apply(minScore)));
<artifact> val x$7: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$8: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$9: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$10: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$11: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$12: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$13: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$14: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$15: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$16: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$17: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14;
<artifact> val x$18: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$7, x$8, x$9, x$10, x$11, x$1, x$12, x$3, x$13, x$14, x$15, x$2, x$16, x$17, x$5, x$4, x$18, x$6, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
}
|
|
957
|
23062
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$4
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$4
|
|
957
|
26740
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$14
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$14
|
|
957
|
23217
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$28
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$28
|
|
957
|
24871
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$21
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$21
|
|
957
|
22514
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$9
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$9
|
|
957
|
25439
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$3
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$3
|
|
957
|
26886
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$29
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$29
|
|
957
|
25002
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$24
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$24
|
|
957
|
23291
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$19
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$19
|
|
957
|
27113
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$5
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$5
|
|
957
|
22980
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$1
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$1
|
|
957
|
27340
|
35906
-
36359
|
Apply
|
org.make.core.proposal.SearchFilters.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply(x$7, x$8, x$9, x$10, x$11, x$1, x$12, x$3, x$13, x$14, x$15, x$2, x$16, x$17, x$5, x$4, x$18, x$6, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
|
|
957
|
24858
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$7
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$7
|
|
957
|
22923
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$25
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$25
|
|
957
|
22447
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$31
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$31
|
|
957
|
25453
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$17
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$17
|
|
957
|
27328
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$23
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$23
|
|
957
|
22438
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$22
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$22
|
|
957
|
26592
|
35906
-
35906
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$26
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$26
|
|
958
|
23122
|
35947
-
35984
|
Apply
|
org.make.core.proposal.QuestionSearchFilter.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId))
|
|
958
|
26884
|
35942
-
35985
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.proposal.QuestionSearchFilter](org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)))
|
|
958
|
25459
|
35968
-
35983
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
org.make.api.proposal.proposalservicetest
|
scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)
|
|
959
|
23589
|
36023
-
36073
|
Apply
|
cats.data.NonEmptyList.map
|
|
x$38.map[org.make.core.proposal.LanguageSearchFilter](org.make.core.proposal.LanguageSearchFilter)
|
|
959
|
27186
|
36009
-
36074
|
Apply
|
scala.Option.map
|
org.make.api.proposal.proposalservicetest
|
languages.map[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]](((x$38: cats.data.NonEmptyList[org.make.core.reference.Language]) => x$38.map[org.make.core.proposal.LanguageSearchFilter](org.make.core.proposal.LanguageSearchFilter)))
|
|
959
|
24547
|
36029
-
36072
|
Select
|
org.make.core.proposal.LanguageSearchFilter
|
|
org.make.core.proposal.LanguageSearchFilter
|
|
960
|
22674
|
36119
-
36147
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
org.make.api.proposal.proposalservicetest
|
scala.`package`.Seq.apply[org.make.core.proposal.ProposalStatus.Accepted.type](org.make.core.proposal.ProposalStatus.Accepted)
|
|
960
|
25008
|
36123
-
36146
|
Select
|
org.make.core.proposal.ProposalStatus.Accepted
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.ProposalStatus.Accepted
|
|
960
|
25331
|
36095
-
36149
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.proposal.ProposalStatus.Accepted.type](org.make.core.proposal.ProposalStatus.Accepted)))
|
|
960
|
26431
|
36100
-
36148
|
Apply
|
org.make.core.proposal.StatusSearchFilter.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.StatusSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.proposal.ProposalStatus.Accepted.type](org.make.core.proposal.ProposalStatus.Accepted))
|
|
961
|
23054
|
36177
-
36207
|
Apply
|
org.make.core.proposal.ToEnrichSearchFilter.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.ToEnrichSearchFilter.apply(toEnrich)
|
|
961
|
27106
|
36172
-
36208
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.proposal.ToEnrichSearchFilter](org.make.core.proposal.ToEnrichSearchFilter.apply(toEnrich))
|
|
962
|
24558
|
36254
-
36285
|
Apply
|
org.make.core.proposal.MinVotesCountSearchFilter.apply
|
|
org.make.core.proposal.MinVotesCountSearchFilter.apply(minVotesCount)
|
|
962
|
23723
|
36236
-
36286
|
Apply
|
scala.Option.map
|
org.make.api.proposal.proposalservicetest
|
minVotesCount.map[org.make.core.proposal.MinVotesCountSearchFilter](((minVotesCount: Int) => org.make.core.proposal.MinVotesCountSearchFilter.apply(minVotesCount)))
|
|
963
|
24940
|
36309
-
36349
|
Apply
|
scala.Option.map
|
org.make.api.proposal.proposalservicetest
|
minScore.map[org.make.core.proposal.MinScoreSearchFilter](((minScore: Double) => org.make.core.proposal.MinScoreSearchFilter.apply(minScore)))
|
|
963
|
27194
|
36322
-
36348
|
Apply
|
org.make.core.proposal.MinScoreSearchFilter.apply
|
|
org.make.core.proposal.MinScoreSearchFilter.apply(minScore)
|
|
966
|
26218
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$19
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$19
|
|
966
|
25016
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$29
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$29
|
|
966
|
24265
|
36383
-
36635
|
Apply
|
org.make.core.proposal.SearchFilters.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply(x$35, x$36, x$37, x$38, x$39, x$32, x$40, x$34, x$41, x$42, x$43, x$33, x$44, x$45, x$46, x$47, x$48, x$49, x$50, x$51, x$52, x$53, x$54, x$55, x$56, x$57, x$58, x$59, x$60, x$61, x$62)
|
|
966
|
24331
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$23
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$23
|
|
966
|
26675
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$22
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$22
|
|
966
|
22539
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$27
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$27
|
|
966
|
22919
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$11
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$11
|
|
966
|
25272
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$20
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$20
|
|
966
|
24348
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$2
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$2
|
|
966
|
26827
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$4
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$4
|
|
966
|
23131
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$24
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$24
|
|
966
|
22604
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$7
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$7
|
|
966
|
23376
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$3
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$3
|
|
966
|
27129
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$16
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$16
|
|
966
|
28098
|
36383
-
36635
|
Block
|
<nosymbol>
|
org.make.api.proposal.proposalservicetest
|
{
<artifact> val x$32: Some[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.QuestionSearchFilter](org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)));
<artifact> val x$33: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = languages.map[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]](((x$39: cats.data.NonEmptyList[org.make.core.reference.Language]) => x$39.map[org.make.core.proposal.LanguageSearchFilter](org.make.core.proposal.LanguageSearchFilter)));
<artifact> val x$34: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.proposal.ProposalStatus.Pending.type](org.make.core.proposal.ProposalStatus.Pending)));
<artifact> val x$35: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$36: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$37: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$38: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$39: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$40: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$41: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$42: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$43: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$44: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$45: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14;
<artifact> val x$46: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$47: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$48: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$49: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$50: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$51: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$52: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$53: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$54: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$55: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$56: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$57: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$58: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$59: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$60: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$61: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$62: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$35, x$36, x$37, x$38, x$39, x$32, x$40, x$34, x$41, x$42, x$43, x$33, x$44, x$45, x$46, x$47, x$48, x$49, x$50, x$51, x$52, x$53, x$54, x$55, x$56, x$57, x$58, x$59, x$60, x$61, x$62)
}
|
|
966
|
22616
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$18
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$18
|
|
966
|
25263
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$10
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$10
|
|
966
|
24491
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$14
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$14
|
|
966
|
26746
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$13
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$13
|
|
966
|
26683
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$31
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$31
|
|
966
|
22864
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$30
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$30
|
|
966
|
22855
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$21
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$21
|
|
966
|
24793
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$17
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$17
|
|
966
|
24802
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$26
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$26
|
|
966
|
23384
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$15
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$15
|
|
966
|
26231
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$28
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$28
|
|
966
|
27140
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$25
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$25
|
|
966
|
24786
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$5
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$5
|
|
966
|
26733
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$1
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$1
|
|
966
|
26081
|
36383
-
36383
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$9
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$9
|
|
967
|
26529
|
36424
-
36461
|
Apply
|
org.make.core.proposal.QuestionSearchFilter.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId))
|
|
967
|
22763
|
36445
-
36460
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
org.make.api.proposal.proposalservicetest
|
scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)
|
|
967
|
24335
|
36419
-
36462
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.proposal.QuestionSearchFilter](org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)))
|
|
968
|
26816
|
36500
-
36550
|
Apply
|
cats.data.NonEmptyList.map
|
|
x$39.map[org.make.core.proposal.LanguageSearchFilter](org.make.core.proposal.LanguageSearchFilter)
|
|
968
|
24852
|
36486
-
36551
|
Apply
|
scala.Option.map
|
org.make.api.proposal.proposalservicetest
|
languages.map[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]](((x$39: cats.data.NonEmptyList[org.make.core.reference.Language]) => x$39.map[org.make.core.proposal.LanguageSearchFilter](org.make.core.proposal.LanguageSearchFilter)))
|
|
968
|
23058
|
36506
-
36549
|
Select
|
org.make.core.proposal.LanguageSearchFilter
|
|
org.make.core.proposal.LanguageSearchFilter
|
|
969
|
22692
|
36572
-
36625
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.proposal.ProposalStatus.Pending.type](org.make.core.proposal.ProposalStatus.Pending)))
|
|
969
|
22377
|
36600
-
36622
|
Select
|
org.make.core.proposal.ProposalStatus.Pending
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.ProposalStatus.Pending
|
|
969
|
27272
|
36596
-
36623
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
org.make.api.proposal.proposalservicetest
|
scala.`package`.Seq.apply[org.make.core.proposal.ProposalStatus.Pending.type](org.make.core.proposal.ProposalStatus.Pending)
|
|
969
|
24945
|
36577
-
36624
|
Apply
|
org.make.core.proposal.StatusSearchFilter.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.StatusSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.proposal.ProposalStatus.Pending.type](org.make.core.proposal.ProposalStatus.Pending))
|
|
984
|
27114
|
37052
-
37126
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.getSearchFilters
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalService.this.getSearchFilters(questionId, languages, toEnrich, minVotesCount, minScore)
|
|
985
|
24208
|
37133
-
37505
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.searchInIndex
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalService.this.searchInIndex(x$9, x$8)
|
|
987
|
23831
|
37205
-
37205
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$2
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply$default$2
|
|
987
|
23001
|
37205
-
37205
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$5
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply$default$5
|
|
987
|
26670
|
37205
-
37497
|
Apply
|
org.make.core.proposal.SearchQuery.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply(x$1, x$6, x$2, x$3, x$7, x$4, x$5)
|
|
988
|
24739
|
37238
-
37257
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.proposal.SearchFilters](searchFilters)
|
|
989
|
22695
|
37340
-
37359
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](com.sksamuel.elastic4s.requests.searches.sort.SortOrder.ASC)
|
|
989
|
26155
|
37286
-
37338
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[String](org.make.core.proposal.indexed.ProposalElasticsearchFieldName.createdAt.field)
|
|
989
|
26612
|
37281
-
37360
|
Apply
|
org.make.core.common.indexed.Sort.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.common.indexed.Sort.apply(scala.Some.apply[String](org.make.core.proposal.indexed.ProposalElasticsearchFieldName.createdAt.field), scala.Some.apply[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](com.sksamuel.elastic4s.requests.searches.sort.SortOrder.ASC))
|
|
989
|
24270
|
37276
-
37361
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(scala.Some.apply[String](org.make.core.proposal.indexed.ProposalElasticsearchFieldName.createdAt.field), scala.Some.apply[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](com.sksamuel.elastic4s.requests.searches.sort.SortOrder.ASC)))
|
|
989
|
22385
|
37291
-
37337
|
Select
|
org.make.core.proposal.indexed.ProposalElasticsearchFieldName.Simple.field
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.indexed.ProposalElasticsearchFieldName.createdAt.field
|
|
989
|
25031
|
37345
-
37358
|
Select
|
com.sksamuel.elastic4s.requests.searches.sort.SortOrder.ASC
|
org.make.api.proposal.proposalservicetest
|
com.sksamuel.elastic4s.requests.searches.sort.SortOrder.ASC
|
|
990
|
28021
|
37386
-
37408
|
Apply
|
org.make.core.technical.Pagination.Limit.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.technical.Pagination.Limit.apply(1000)
|
|
990
|
27123
|
37381
-
37409
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(1000))
|
|
991
|
24576
|
37432
-
37436
|
Select
|
scala.None
|
org.make.api.proposal.proposalservicetest
|
scala.None
|
|
992
|
26167
|
37464
-
37487
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.proposal.B2BFirstAlgorithm.type](org.make.core.proposal.B2BFirstAlgorithm)
|
|
992
|
22320
|
37469
-
37486
|
Select
|
org.make.core.proposal.B2BFirstAlgorithm
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.B2BFirstAlgorithm
|
|
994
|
22338
|
37514
-
37514
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
994
|
26186
|
37133
-
41472
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.proposal.proposalservicetest
|
{
<artifact> val x$8: org.make.core.RequestContext = requestContext;
<artifact> val x$9: org.make.core.proposal.SearchQuery = {
<artifact> val x$1: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters](searchFilters);
<artifact> val x$2: Some[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(scala.Some.apply[String](org.make.core.proposal.indexed.ProposalElasticsearchFieldName.createdAt.field), scala.Some.apply[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](com.sksamuel.elastic4s.requests.searches.sort.SortOrder.ASC)));
<artifact> val x$3: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(1000));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[org.make.core.proposal.B2BFirstAlgorithm.type] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.B2BFirstAlgorithm.type](org.make.core.proposal.B2BFirstAlgorithm);
<artifact> val x$6: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$7: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5;
org.make.core.proposal.SearchQuery.apply(x$1, x$6, x$2, x$3, x$7, x$4, x$5)
};
DefaultProposalService.this.searchInIndex(x$9, x$8)
}.flatMap[Option[org.make.api.proposal.ModerationAuthorResponse]](((searchResults: org.make.core.proposal.indexed.ProposalsSearchResult) => {
@SuppressWarnings(value = ["org.wartremover.warts.MutableDataStructures"]) val candidates: scala.collection.mutable.LinkedHashMap[org.make.core.user.UserId,cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]] = searchResults.results.foldLeft[scala.collection.mutable.LinkedHashMap[org.make.core.user.UserId,cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]]](scala.collection.mutable.LinkedHashMap.empty[org.make.core.user.UserId, cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]])(((x0$1: scala.collection.mutable.LinkedHashMap[org.make.core.user.UserId,cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]], x1$1: org.make.core.proposal.indexed.IndexedProposal) => scala.Tuple2.apply[scala.collection.mutable.LinkedHashMap[org.make.core.user.UserId,cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]], org.make.core.proposal.indexed.IndexedProposal](x0$1, x1$1) match {
case (_1: scala.collection.mutable.LinkedHashMap[org.make.core.user.UserId,cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]], _2: org.make.core.proposal.indexed.IndexedProposal): (scala.collection.mutable.LinkedHashMap[org.make.core.user.UserId,cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]], org.make.core.proposal.indexed.IndexedProposal)((map @ _), (proposal @ _)) => {
val list: cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal] = map.get(proposal.author.userId).fold[cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]](cats.data.NonEmptyList.of[org.make.core.proposal.indexed.IndexedProposal](proposal))(((x$40: cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]) => x$40.:+[org.make.core.proposal.indexed.IndexedProposal](proposal)));
map.put(proposal.author.userId, list);
map
}
}));
def futureMaybeSuccessfulLocks(indexedProposals: cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal], tags: Seq[org.make.core.tag.Tag], tagTypes: Seq[org.make.core.tag.TagType]): scala.concurrent.Future[cats.data.NonEmptyList[Option[org.make.api.proposal.ModerationProposalResponse]]] = indexedProposals.traverse[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]](((proposal: org.make.core.proposal.indexed.IndexedProposal) => DefaultProposalService.this.getModerationProposalById(proposal.id).flatMap[Option[org.make.api.proposal.ModerationProposalResponse]](((x0$1: Option[org.make.api.proposal.ModerationProposalResponse]) => x0$1 match {
case scala.None => scala.concurrent.Future.successful[None.type](scala.None)
case (value: org.make.api.proposal.ModerationProposalResponse): Some[org.make.api.proposal.ModerationProposalResponse]((proposal @ _)) => {
val isValid: Boolean = if (toEnrich)
{
val proposalTags: Seq[org.make.core.tag.Tag] = tags.filter(((tag: org.make.core.tag.Tag) => proposal.tags.contains[org.make.core.tag.TagId](tag.tagId)));
org.make.core.proposal.Proposal.needsEnrichment(proposal.status, tagTypes, proposalTags.map[org.make.core.tag.TagTypeId](((x$41: org.make.core.tag.Tag) => x$41.tagTypeId)))
}
else
proposal.status.==(org.make.core.proposal.ProposalStatus.Pending);
if (isValid.unary_!)
scala.concurrent.Future.successful[None.type](scala.None)
else
DefaultProposalServiceComponent.this.proposalCoordinatorService.lock(proposal.proposalId, moderatorId, moderatorFullName, requestContext).map[Some[org.make.api.proposal.ModerationProposalResponse]](((x$42: Option[org.make.core.user.UserId]) => {
searchFilters.status.foreach[Unit](((filter: org.make.core.proposal.StatusSearchFilter) => if (filter.status.contains[org.make.core.proposal.ProposalStatus](proposal.status).unary_!)
DefaultProposalServiceComponent.this.logger.error(("Proposal id=".+(proposal.proposalId.value).+(" with status=").+(proposal.status).+(" incorrectly candidate for moderation, questionId=").+(questionId.value).+(" moderator=").+(moderatorId.value).+(" toEnrich=").+(toEnrich).+(" searchFilters=").+(searchFilters).+(" requestContext=").+(requestContext): String))
else
()));
scala.Some.apply[org.make.api.proposal.ModerationProposalResponse](proposal)
}))(scala.concurrent.ExecutionContext.Implicits.global).recoverWith[Option[org.make.api.proposal.ModerationProposalResponse]](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Throwable,scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]] with java.io.Serializable {
def <init>(): <$anon: Throwable => scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Throwable, B1 >: scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case _ => scala.concurrent.Future.successful[None.type](scala.None)
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Throwable): Boolean = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case _ => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Throwable,scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]]))(scala.concurrent.ExecutionContext.Implicits.global)
}
}))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global));
def getAndLockFirstAuthor(tags: Seq[org.make.core.tag.Tag], tagTypes: Seq[org.make.core.tag.TagType]): scala.concurrent.Future[Option[org.make.api.proposal.ModerationAuthorResponse]] = akka.stream.scaladsl.Source.apply[cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]](candidates.view.values.toSeq).foldAsync[Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]](scala.None)(((x0$1: Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]], x1$1: cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]) => scala.Tuple2.apply[Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]], cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]](x0$1, x1$1) match {
case (_1: Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]], _2: cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]): (Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]], cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal])(scala.None, (indexedProposals @ _)) => futureMaybeSuccessfulLocks(indexedProposals, tags, tagTypes).map[Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]](((x$43: cats.data.NonEmptyList[Option[org.make.api.proposal.ModerationProposalResponse]]) => cats.implicits.toTraverseOps[cats.data.NonEmptyList, Option[org.make.api.proposal.ModerationProposalResponse]](x$43)(data.this.NonEmptyList.catsDataInstancesForNonEmptyListBinCompat1).sequence[Option, org.make.api.proposal.ModerationProposalResponse](scala.this.<:<.refl[Option[org.make.api.proposal.ModerationProposalResponse]], cats.implicits.catsStdInstancesForOption)))(scala.concurrent.ExecutionContext.Implicits.global)
case (_1: Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]], _2: cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]): (Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]], cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal])((value: cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]): Some[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]((list @ _)), _) => scala.concurrent.Future.successful[Some[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]](scala.Some.apply[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]](list))
})).collect[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]],cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]] with java.io.Serializable {
def <init>(): <$anon: Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]] => cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]], B1 >: cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]]: Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]): Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]] @unchecked) match {
case (value: cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]): Some[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]((list @ _)) => list
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]): Boolean = ((x1.asInstanceOf[Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]]: Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]): Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]] @unchecked) match {
case (value: cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]): Some[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]((list @ _)) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]],cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]])).runWith[scala.concurrent.Future[Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]]](akka.stream.scaladsl.Sink.headOption[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]])(stream.this.Materializer.matFromSystem(DefaultProposalServiceComponent.this.actorSystem)).map[Option[org.make.api.proposal.ModerationAuthorResponse]](((x$44: Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]) => x$44.map[org.make.api.proposal.ModerationAuthorResponse](((list: cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]) => ModerationAuthorResponse.apply(list.head.author, list.toList, searchResults.total.toInt)))))(scala.concurrent.ExecutionContext.Implicits.global);
DefaultProposalServiceComponent.this.tagService.findByQuestionId(questionId).flatMap[Option[org.make.api.proposal.ModerationAuthorResponse]](((tags: Seq[org.make.core.tag.Tag]) => DefaultProposalServiceComponent.this.tagTypeService.findAll(scala.Some.apply[Boolean](true)).flatMap[Option[org.make.api.proposal.ModerationAuthorResponse]](((tagTypes: Seq[org.make.core.tag.TagType]) => getAndLockFirstAuthor(tags, tagTypes).map[Option[org.make.api.proposal.ModerationAuthorResponse]](((authorResponse: Option[org.make.api.proposal.ModerationAuthorResponse]) => authorResponse))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
998
|
28035
|
37798
-
37864
|
TypeApply
|
scala.collection.mutable.LinkedHashMap.empty
|
|
scala.collection.mutable.LinkedHashMap.empty[org.make.core.user.UserId, cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]]
|
|
998
|
26601
|
37767
-
38089
|
Apply
|
scala.collection.IterableOnceOps.foldLeft
|
|
searchResults.results.foldLeft[scala.collection.mutable.LinkedHashMap[org.make.core.user.UserId,cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]]](scala.collection.mutable.LinkedHashMap.empty[org.make.core.user.UserId, cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]])(((x0$1: scala.collection.mutable.LinkedHashMap[org.make.core.user.UserId,cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]], x1$1: org.make.core.proposal.indexed.IndexedProposal) => scala.Tuple2.apply[scala.collection.mutable.LinkedHashMap[org.make.core.user.UserId,cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]], org.make.core.proposal.indexed.IndexedProposal](x0$1, x1$1) match {
case (_1: scala.collection.mutable.LinkedHashMap[org.make.core.user.UserId,cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]], _2: org.make.core.proposal.indexed.IndexedProposal): (scala.collection.mutable.LinkedHashMap[org.make.core.user.UserId,cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]], org.make.core.proposal.indexed.IndexedProposal)((map @ _), (proposal @ _)) => {
val list: cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal] = map.get(proposal.author.userId).fold[cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]](cats.data.NonEmptyList.of[org.make.core.proposal.indexed.IndexedProposal](proposal))(((x$40: cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]) => x$40.:+[org.make.core.proposal.indexed.IndexedProposal](proposal)));
map.put(proposal.author.userId, list);
map
}
}))
|
|
1000
|
27136
|
37937
-
37959
|
Select
|
org.make.core.proposal.indexed.IndexedAuthor.userId
|
|
proposal.author.userId
|
|
1000
|
24881
|
37966
-
37991
|
Apply
|
cats.data.NonEmptyList.of
|
|
cats.data.NonEmptyList.of[org.make.core.proposal.indexed.IndexedProposal](proposal)
|
|
1000
|
26092
|
37929
-
38007
|
Apply
|
scala.Option.fold
|
|
map.get(proposal.author.userId).fold[cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]](cats.data.NonEmptyList.of[org.make.core.proposal.indexed.IndexedProposal](proposal))(((x$40: cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]) => x$40.:+[org.make.core.proposal.indexed.IndexedProposal](proposal)))
|
|
1000
|
22532
|
37993
-
38006
|
Apply
|
cats.data.NonEmptyList.:+
|
|
x$40.:+[org.make.core.proposal.indexed.IndexedProposal](proposal)
|
|
1001
|
23011
|
38022
-
38059
|
Apply
|
scala.collection.mutable.LinkedHashMap.put
|
|
map.put(proposal.author.userId, list)
|
|
1001
|
24129
|
38030
-
38052
|
Select
|
org.make.core.proposal.indexed.IndexedAuthor.userId
|
|
proposal.author.userId
|
|
1011
|
24343
|
38461
-
38461
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1011
|
27964
|
38461
-
38461
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1011
|
25944
|
38435
-
40052
|
ApplyToImplicitArgs
|
cats.data.NonEmptyList.traverse
|
|
indexedProposals.traverse[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]](((proposal: org.make.core.proposal.indexed.IndexedProposal) => DefaultProposalService.this.getModerationProposalById(proposal.id).flatMap[Option[org.make.api.proposal.ModerationProposalResponse]](((x0$1: Option[org.make.api.proposal.ModerationProposalResponse]) => x0$1 match {
case scala.None => scala.concurrent.Future.successful[None.type](scala.None)
case (value: org.make.api.proposal.ModerationProposalResponse): Some[org.make.api.proposal.ModerationProposalResponse]((proposal @ _)) => {
val isValid: Boolean = if (toEnrich)
{
val proposalTags: Seq[org.make.core.tag.Tag] = tags.filter(((tag: org.make.core.tag.Tag) => proposal.tags.contains[org.make.core.tag.TagId](tag.tagId)));
org.make.core.proposal.Proposal.needsEnrichment(proposal.status, tagTypes, proposalTags.map[org.make.core.tag.TagTypeId](((x$41: org.make.core.tag.Tag) => x$41.tagTypeId)))
}
else
proposal.status.==(org.make.core.proposal.ProposalStatus.Pending);
if (isValid.unary_!)
scala.concurrent.Future.successful[None.type](scala.None)
else
DefaultProposalServiceComponent.this.proposalCoordinatorService.lock(proposal.proposalId, moderatorId, moderatorFullName, requestContext).map[Some[org.make.api.proposal.ModerationProposalResponse]](((x$42: Option[org.make.core.user.UserId]) => {
searchFilters.status.foreach[Unit](((filter: org.make.core.proposal.StatusSearchFilter) => if (filter.status.contains[org.make.core.proposal.ProposalStatus](proposal.status).unary_!)
DefaultProposalServiceComponent.this.logger.error(("Proposal id=".+(proposal.proposalId.value).+(" with status=").+(proposal.status).+(" incorrectly candidate for moderation, questionId=").+(questionId.value).+(" moderator=").+(moderatorId.value).+(" toEnrich=").+(toEnrich).+(" searchFilters=").+(searchFilters).+(" requestContext=").+(requestContext): String))
else
()));
scala.Some.apply[org.make.api.proposal.ModerationProposalResponse](proposal)
}))(scala.concurrent.ExecutionContext.Implicits.global).recoverWith[Option[org.make.api.proposal.ModerationProposalResponse]](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Throwable,scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]] with java.io.Serializable {
def <init>(): <$anon: Throwable => scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Throwable, B1 >: scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case _ => scala.concurrent.Future.successful[None.type](scala.None)
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Throwable): Boolean = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case _ => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Throwable,scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]]))(scala.concurrent.ExecutionContext.Implicits.global)
}
}))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))
|
|
1012
|
27870
|
38534
-
38534
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1012
|
26769
|
38487
-
40040
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalService.this.getModerationProposalById(proposal.id).flatMap[Option[org.make.api.proposal.ModerationProposalResponse]](((x0$1: Option[org.make.api.proposal.ModerationProposalResponse]) => x0$1 match {
case scala.None => scala.concurrent.Future.successful[None.type](scala.None)
case (value: org.make.api.proposal.ModerationProposalResponse): Some[org.make.api.proposal.ModerationProposalResponse]((proposal @ _)) => {
val isValid: Boolean = if (toEnrich)
{
val proposalTags: Seq[org.make.core.tag.Tag] = tags.filter(((tag: org.make.core.tag.Tag) => proposal.tags.contains[org.make.core.tag.TagId](tag.tagId)));
org.make.core.proposal.Proposal.needsEnrichment(proposal.status, tagTypes, proposalTags.map[org.make.core.tag.TagTypeId](((x$41: org.make.core.tag.Tag) => x$41.tagTypeId)))
}
else
proposal.status.==(org.make.core.proposal.ProposalStatus.Pending);
if (isValid.unary_!)
scala.concurrent.Future.successful[None.type](scala.None)
else
DefaultProposalServiceComponent.this.proposalCoordinatorService.lock(proposal.proposalId, moderatorId, moderatorFullName, requestContext).map[Some[org.make.api.proposal.ModerationProposalResponse]](((x$42: Option[org.make.core.user.UserId]) => {
searchFilters.status.foreach[Unit](((filter: org.make.core.proposal.StatusSearchFilter) => if (filter.status.contains[org.make.core.proposal.ProposalStatus](proposal.status).unary_!)
DefaultProposalServiceComponent.this.logger.error(("Proposal id=".+(proposal.proposalId.value).+(" with status=").+(proposal.status).+(" incorrectly candidate for moderation, questionId=").+(questionId.value).+(" moderator=").+(moderatorId.value).+(" toEnrich=").+(toEnrich).+(" searchFilters=").+(searchFilters).+(" requestContext=").+(requestContext): String))
else
()));
scala.Some.apply[org.make.api.proposal.ModerationProposalResponse](proposal)
}))(scala.concurrent.ExecutionContext.Implicits.global).recoverWith[Option[org.make.api.proposal.ModerationProposalResponse]](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Throwable,scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]] with java.io.Serializable {
def <init>(): <$anon: Throwable => scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Throwable, B1 >: scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case _ => scala.concurrent.Future.successful[None.type](scala.None)
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Throwable): Boolean = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case _ => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Throwable,scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]]))(scala.concurrent.ExecutionContext.Implicits.global)
}
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1012
|
24421
|
38513
-
38524
|
Select
|
org.make.core.proposal.indexed.IndexedProposal.id
|
|
proposal.id
|
|
1013
|
27073
|
38563
-
38586
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[None.type](scala.None)
|
|
1013
|
28256
|
38581
-
38585
|
Select
|
scala.None
|
|
scala.None
|
|
1015
|
28016
|
38677
-
38888
|
Block
|
<nosymbol>
|
|
{
val proposalTags: Seq[org.make.core.tag.Tag] = tags.filter(((tag: org.make.core.tag.Tag) => proposal.tags.contains[org.make.core.tag.TagId](tag.tagId)));
org.make.core.proposal.Proposal.needsEnrichment(proposal.status, tagTypes, proposalTags.map[org.make.core.tag.TagTypeId](((x$41: org.make.core.tag.Tag) => x$41.tagTypeId)))
}
|
|
1016
|
26319
|
38716
-
38769
|
Apply
|
scala.collection.IterableOps.filter
|
|
tags.filter(((tag: org.make.core.tag.Tag) => proposal.tags.contains[org.make.core.tag.TagId](tag.tagId)))
|
|
1016
|
24734
|
38758
-
38767
|
Select
|
org.make.core.tag.Tag.tagId
|
|
tag.tagId
|
|
1016
|
22457
|
38735
-
38768
|
Apply
|
scala.collection.SeqOps.contains
|
|
proposal.tags.contains[org.make.core.tag.TagId](tag.tagId)
|
|
1017
|
24433
|
38788
-
38870
|
Apply
|
org.make.core.proposal.Proposal.needsEnrichment
|
|
org.make.core.proposal.Proposal.needsEnrichment(proposal.status, tagTypes, proposalTags.map[org.make.core.tag.TagTypeId](((x$41: org.make.core.tag.Tag) => x$41.tagTypeId)))
|
|
1017
|
22942
|
38857
-
38868
|
Select
|
org.make.core.tag.Tag.tagTypeId
|
|
x$41.tagTypeId
|
|
1017
|
24138
|
38813
-
38828
|
Select
|
org.make.api.proposal.ModerationProposalResponse.status
|
|
proposal.status
|
|
1017
|
26608
|
38840
-
38869
|
Apply
|
scala.collection.IterableOps.map
|
|
proposalTags.map[org.make.core.tag.TagTypeId](((x$41: org.make.core.tag.Tag) => x$41.tagTypeId))
|
|
1019
|
22468
|
38914
-
38940
|
Block
|
java.lang.Object.==
|
|
proposal.status.==(org.make.core.proposal.ProposalStatus.Pending)
|
|
1019
|
26026
|
38933
-
38940
|
Select
|
org.make.core.proposal.ProposalStatus.Pending
|
|
org.make.core.proposal.ProposalStatus.Pending
|
|
1019
|
24670
|
38914
-
38940
|
Apply
|
java.lang.Object.==
|
|
proposal.status.==(org.make.core.proposal.ProposalStatus.Pending)
|
|
1022
|
26160
|
38980
-
38988
|
Select
|
scala.Boolean.unary_!
|
|
isValid.unary_!
|
|
1024
|
22803
|
39090
-
39113
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[None.type](scala.None)
|
|
1024
|
23912
|
39108
-
39112
|
Select
|
scala.None
|
|
scala.None
|
|
1024
|
26546
|
39090
-
39113
|
Block
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[None.type](scala.None)
|
|
1027
|
24359
|
39210
-
39229
|
Select
|
org.make.api.proposal.ModerationProposalResponse.proposalId
|
|
proposal.proposalId
|
|
1028
|
24214
|
39304
-
39304
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1029
|
22927
|
39333
-
39878
|
Apply
|
scala.Option.foreach
|
|
searchFilters.status.foreach[Unit](((filter: org.make.core.proposal.StatusSearchFilter) => if (filter.status.contains[org.make.core.proposal.ProposalStatus](proposal.status).unary_!)
DefaultProposalServiceComponent.this.logger.error(("Proposal id=".+(proposal.proposalId.value).+(" with status=").+(proposal.status).+(" incorrectly candidate for moderation, questionId=").+(questionId.value).+(" moderator=").+(moderatorId.value).+(" toEnrich=").+(toEnrich).+(" searchFilters=").+(searchFilters).+(" requestContext=").+(requestContext): String))
else
()))
|
|
1031
|
28027
|
39451
-
39466
|
Select
|
org.make.api.proposal.ModerationProposalResponse.status
|
|
proposal.status
|
|
1031
|
25799
|
39427
-
39467
|
Select
|
scala.Boolean.unary_!
|
|
filter.status.contains[org.make.core.proposal.ProposalStatus](proposal.status).unary_!
|
|
1031
|
23923
|
39423
-
39423
|
Block
|
<nosymbol>
|
|
()
|
|
1031
|
26090
|
39423
-
39423
|
Literal
|
<nosymbol>
|
|
()
|
|
1032
|
22479
|
39499
-
39826
|
Block
|
grizzled.slf4j.Logger.error
|
|
DefaultProposalServiceComponent.this.logger.error(("Proposal id=".+(proposal.proposalId.value).+(" with status=").+(proposal.status).+(" incorrectly candidate for moderation, questionId=").+(questionId.value).+(" moderator=").+(moderatorId.value).+(" toEnrich=").+(toEnrich).+(" searchFilters=").+(searchFilters).+(" requestContext=").+(requestContext): String))
|
|
1032
|
24679
|
39499
-
39826
|
Apply
|
grizzled.slf4j.Logger.error
|
|
DefaultProposalServiceComponent.this.logger.error(("Proposal id=".+(proposal.proposalId.value).+(" with status=").+(proposal.status).+(" incorrectly candidate for moderation, questionId=").+(questionId.value).+(" moderator=").+(moderatorId.value).+(" toEnrich=").+(toEnrich).+(" searchFilters=").+(searchFilters).+(" requestContext=").+(requestContext): String))
|
|
1037
|
26759
|
39901
-
39915
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.api.proposal.ModerationProposalResponse](proposal)
|
|
1039
|
26098
|
39157
-
40008
|
ApplyToImplicitArgs
|
scala.concurrent.Future.recoverWith
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.lock(proposal.proposalId, moderatorId, moderatorFullName, requestContext).map[Some[org.make.api.proposal.ModerationProposalResponse]](((x$42: Option[org.make.core.user.UserId]) => {
searchFilters.status.foreach[Unit](((filter: org.make.core.proposal.StatusSearchFilter) => if (filter.status.contains[org.make.core.proposal.ProposalStatus](proposal.status).unary_!)
DefaultProposalServiceComponent.this.logger.error(("Proposal id=".+(proposal.proposalId.value).+(" with status=").+(proposal.status).+(" incorrectly candidate for moderation, questionId=").+(questionId.value).+(" moderator=").+(moderatorId.value).+(" toEnrich=").+(toEnrich).+(" searchFilters=").+(searchFilters).+(" requestContext=").+(requestContext): String))
else
()));
scala.Some.apply[org.make.api.proposal.ModerationProposalResponse](proposal)
}))(scala.concurrent.ExecutionContext.Implicits.global).recoverWith[Option[org.make.api.proposal.ModerationProposalResponse]](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Throwable,scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]] with java.io.Serializable {
def <init>(): <$anon: Throwable => scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Throwable, B1 >: scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case _ => scala.concurrent.Future.successful[None.type](scala.None)
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Throwable): Boolean = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case _ => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Throwable,scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]]))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1039
|
24803
|
39971
-
39971
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.$anonfun.<init>
|
|
new $anonfun()
|
|
1039
|
27954
|
40001
-
40005
|
Select
|
scala.None
|
|
scala.None
|
|
1039
|
23845
|
39157
-
40008
|
Block
|
scala.concurrent.Future.recoverWith
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.lock(proposal.proposalId, moderatorId, moderatorFullName, requestContext).map[Some[org.make.api.proposal.ModerationProposalResponse]](((x$42: Option[org.make.core.user.UserId]) => {
searchFilters.status.foreach[Unit](((filter: org.make.core.proposal.StatusSearchFilter) => if (filter.status.contains[org.make.core.proposal.ProposalStatus](proposal.status).unary_!)
DefaultProposalServiceComponent.this.logger.error(("Proposal id=".+(proposal.proposalId.value).+(" with status=").+(proposal.status).+(" incorrectly candidate for moderation, questionId=").+(questionId.value).+(" moderator=").+(moderatorId.value).+(" toEnrich=").+(toEnrich).+(" searchFilters=").+(searchFilters).+(" requestContext=").+(requestContext): String))
else
()));
scala.Some.apply[org.make.api.proposal.ModerationProposalResponse](proposal)
}))(scala.concurrent.ExecutionContext.Implicits.global).recoverWith[Option[org.make.api.proposal.ModerationProposalResponse]](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Throwable,scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]] with java.io.Serializable {
def <init>(): <$anon: Throwable => scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Throwable, B1 >: scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case _ => scala.concurrent.Future.successful[None.type](scala.None)
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Throwable): Boolean = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case _ => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Throwable,scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]]))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1039
|
25813
|
39983
-
40006
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[None.type](scala.None)
|
|
1039
|
22627
|
39971
-
39971
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1046
|
24815
|
40157
-
40185
|
Select
|
scala.collection.IterableOnceOps.toSeq
|
|
candidates.view.values.toSeq
|
|
1047
|
22463
|
40260
-
40264
|
Select
|
scala.None
|
|
scala.None
|
|
1052
|
28108
|
40655
-
40731
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
futureMaybeSuccessfulLocks(indexedProposals, tags, tagTypes).map[Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]](((x$43: cats.data.NonEmptyList[Option[org.make.api.proposal.ModerationProposalResponse]]) => cats.implicits.toTraverseOps[cats.data.NonEmptyList, Option[org.make.api.proposal.ModerationProposalResponse]](x$43)(data.this.NonEmptyList.catsDataInstancesForNonEmptyListBinCompat1).sequence[Option, org.make.api.proposal.ModerationProposalResponse](scala.this.<:<.refl[Option[org.make.api.proposal.ModerationProposalResponse]], cats.implicits.catsStdInstancesForOption)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1052
|
26693
|
40720
-
40730
|
ApplyToImplicitArgs
|
cats.Traverse.Ops.sequence
|
|
cats.implicits.toTraverseOps[cats.data.NonEmptyList, Option[org.make.api.proposal.ModerationProposalResponse]](x$43)(data.this.NonEmptyList.catsDataInstancesForNonEmptyListBinCompat1).sequence[Option, org.make.api.proposal.ModerationProposalResponse](scala.this.<:<.refl[Option[org.make.api.proposal.ModerationProposalResponse]], cats.implicits.catsStdInstancesForOption)
|
|
1052
|
27880
|
40722
-
40722
|
Select
|
cats.instances.OptionInstances.catsStdInstancesForOption
|
|
cats.implicits.catsStdInstancesForOption
|
|
1052
|
24353
|
40719
-
40719
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1052
|
26243
|
40720
-
40720
|
Select
|
cats.data.NonEmptyListInstances.catsDataInstancesForNonEmptyListBinCompat1
|
|
data.this.NonEmptyList.catsDataInstancesForNonEmptyListBinCompat1
|
|
1052
|
23856
|
40722
-
40722
|
TypeApply
|
scala.<:<.refl
|
|
scala.this.<:<.refl[Option[org.make.api.proposal.ModerationProposalResponse]]
|
|
1054
|
25952
|
40804
-
40814
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]](list)
|
|
1054
|
23764
|
40786
-
40815
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[Some[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]](scala.Some.apply[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]](list))
|
|
1057
|
22394
|
40980
-
40980
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.$anonfun.<init>
|
|
new $anonfun()
|
|
1058
|
26252
|
41029
-
41044
|
TypeApply
|
akka.stream.scaladsl.Sink.headOption
|
|
akka.stream.scaladsl.Sink.headOption[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]
|
|
1058
|
27807
|
41028
-
41028
|
ApplyToImplicitArgs
|
akka.stream.Materializer.matFromSystem
|
|
stream.this.Materializer.matFromSystem(DefaultProposalServiceComponent.this.actorSystem)
|
|
1058
|
23832
|
41028
-
41028
|
Select
|
org.make.api.technical.ActorSystemComponent.actorSystem
|
|
DefaultProposalServiceComponent.this.actorSystem
|
|
1059
|
22405
|
41062
-
41062
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1059
|
23682
|
41063
-
41189
|
Apply
|
scala.Option.map
|
|
x$44.map[org.make.api.proposal.ModerationAuthorResponse](((list: cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]) => ModerationAuthorResponse.apply(list.head.author, list.toList, searchResults.total.toInt)))
|
|
1059
|
26178
|
40150
-
41190
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
akka.stream.scaladsl.Source.apply[cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]](candidates.view.values.toSeq).foldAsync[Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]](scala.None)(((x0$1: Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]], x1$1: cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]) => scala.Tuple2.apply[Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]], cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]](x0$1, x1$1) match {
case (_1: Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]], _2: cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]): (Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]], cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal])(scala.None, (indexedProposals @ _)) => futureMaybeSuccessfulLocks(indexedProposals, tags, tagTypes).map[Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]](((x$43: cats.data.NonEmptyList[Option[org.make.api.proposal.ModerationProposalResponse]]) => cats.implicits.toTraverseOps[cats.data.NonEmptyList, Option[org.make.api.proposal.ModerationProposalResponse]](x$43)(data.this.NonEmptyList.catsDataInstancesForNonEmptyListBinCompat1).sequence[Option, org.make.api.proposal.ModerationProposalResponse](scala.this.<:<.refl[Option[org.make.api.proposal.ModerationProposalResponse]], cats.implicits.catsStdInstancesForOption)))(scala.concurrent.ExecutionContext.Implicits.global)
case (_1: Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]], _2: cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal]): (Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]], cats.data.NonEmptyList[org.make.core.proposal.indexed.IndexedProposal])((value: cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]): Some[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]((list @ _)), _) => scala.concurrent.Future.successful[Some[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]](scala.Some.apply[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]](list))
})).collect[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]],cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]] with java.io.Serializable {
def <init>(): <$anon: Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]] => cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]], B1 >: cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]]: Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]): Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]] @unchecked) match {
case (value: cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]): Some[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]((list @ _)) => list
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]): Boolean = ((x1.asInstanceOf[Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]]: Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]): Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]] @unchecked) match {
case (value: cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]): Some[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]((list @ _)) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]],cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]])).runWith[scala.concurrent.Future[Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]]](akka.stream.scaladsl.Sink.headOption[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]])(stream.this.Materializer.matFromSystem(DefaultProposalServiceComponent.this.actorSystem)).map[Option[org.make.api.proposal.ModerationAuthorResponse]](((x$44: Option[cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]]) => x$44.map[org.make.api.proposal.ModerationAuthorResponse](((list: cats.data.NonEmptyList[org.make.api.proposal.ModerationProposalResponse]) => ModerationAuthorResponse.apply(list.head.author, list.toList, searchResults.total.toInt)))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1060
|
28117
|
41149
-
41174
|
Select
|
scala.Long.toInt
|
|
searchResults.total.toInt
|
|
1060
|
24279
|
41136
-
41147
|
Select
|
cats.data.NonEmptyList.toList
|
|
list.toList
|
|
1060
|
26554
|
41118
-
41134
|
Select
|
org.make.api.proposal.ModerationProposalResponse.author
|
|
list.head.author
|
|
1060
|
25806
|
41093
-
41175
|
Apply
|
org.make.api.proposal.ModerationAuthorResponse.apply
|
|
ModerationAuthorResponse.apply(list.head.author, list.toList, searchResults.total.toInt)
|
|
1064
|
23746
|
41200
-
41463
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalServiceComponent.this.tagService.findByQuestionId(questionId).flatMap[Option[org.make.api.proposal.ModerationAuthorResponse]](((tags: Seq[org.make.core.tag.Tag]) => DefaultProposalServiceComponent.this.tagTypeService.findAll(scala.Some.apply[Boolean](true)).flatMap[Option[org.make.api.proposal.ModerationAuthorResponse]](((tagTypes: Seq[org.make.core.tag.TagType]) => getAndLockFirstAuthor(tags, tagTypes).map[Option[org.make.api.proposal.ModerationAuthorResponse]](((authorResponse: Option[org.make.api.proposal.ModerationAuthorResponse]) => authorResponse))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1064
|
25728
|
41231
-
41231
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1065
|
24291
|
41299
-
41299
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1065
|
27957
|
41284
-
41463
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalServiceComponent.this.tagTypeService.findAll(scala.Some.apply[Boolean](true)).flatMap[Option[org.make.api.proposal.ModerationAuthorResponse]](((tagTypes: Seq[org.make.core.tag.TagType]) => getAndLockFirstAuthor(tags, tagTypes).map[Option[org.make.api.proposal.ModerationAuthorResponse]](((authorResponse: Option[org.make.api.proposal.ModerationAuthorResponse]) => authorResponse))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1065
|
23841
|
41355
-
41365
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Boolean](true)
|
|
1066
|
26490
|
41377
-
41463
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
getAndLockFirstAuthor(tags, tagTypes).map[Option[org.make.api.proposal.ModerationAuthorResponse]](((authorResponse: Option[org.make.api.proposal.ModerationAuthorResponse]) => authorResponse))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1066
|
27657
|
41392
-
41392
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1082
|
23850
|
41901
-
41903
|
Literal
|
<nosymbol>
|
org.make.api.proposal.proposalservicetest
|
50
|
|
1083
|
25635
|
41930
-
41999
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.getSearchFilters
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalService.this.getSearchFilters(questionId, scala.None, toEnrich, minVotesCount, minScore)
|
|
1083
|
27587
|
41959
-
41963
|
Select
|
scala.None
|
org.make.api.proposal.proposalservicetest
|
scala.None
|
|
1084
|
23784
|
42006
-
42398
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.searchInIndex
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalService.this.searchInIndex(x$9, x$8)
|
|
1086
|
23679
|
42078
-
42078
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$2
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply$default$2
|
|
1086
|
22480
|
42078
-
42078
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$5
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply$default$5
|
|
1086
|
26173
|
42078
-
42390
|
Apply
|
org.make.core.proposal.SearchQuery.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply(x$1, x$6, x$2, x$3, x$7, x$4, x$5)
|
|
1087
|
24226
|
42111
-
42130
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.proposal.SearchFilters](searchFilters)
|
|
1088
|
25739
|
42159
-
42211
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[String](org.make.core.proposal.indexed.ProposalElasticsearchFieldName.createdAt.field)
|
|
1088
|
23668
|
42218
-
42231
|
Select
|
com.sksamuel.elastic4s.requests.searches.sort.SortOrder.ASC
|
org.make.api.proposal.proposalservicetest
|
com.sksamuel.elastic4s.requests.searches.sort.SortOrder.ASC
|
|
1088
|
22558
|
42213
-
42232
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](com.sksamuel.elastic4s.requests.searches.sort.SortOrder.ASC)
|
|
1088
|
26042
|
42154
-
42233
|
Apply
|
org.make.core.common.indexed.Sort.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.common.indexed.Sort.apply(scala.Some.apply[String](org.make.core.proposal.indexed.ProposalElasticsearchFieldName.createdAt.field), scala.Some.apply[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](com.sksamuel.elastic4s.requests.searches.sort.SortOrder.ASC))
|
|
1088
|
27893
|
42164
-
42210
|
Select
|
org.make.core.proposal.indexed.ProposalElasticsearchFieldName.Simple.field
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.indexed.ProposalElasticsearchFieldName.createdAt.field
|
|
1088
|
23775
|
42149
-
42234
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(scala.Some.apply[String](org.make.core.proposal.indexed.ProposalElasticsearchFieldName.createdAt.field), scala.Some.apply[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](com.sksamuel.elastic4s.requests.searches.sort.SortOrder.ASC)))
|
|
1089
|
27600
|
42259
-
42301
|
Apply
|
org.make.core.technical.Pagination.Limit.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.technical.Pagination.Limit.apply(defaultNumberOfProposals)
|
|
1089
|
25554
|
42254
-
42302
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(defaultNumberOfProposals))
|
|
1090
|
24447
|
42325
-
42329
|
Select
|
scala.None
|
org.make.api.proposal.proposalservicetest
|
scala.None
|
|
1091
|
27900
|
42362
-
42379
|
Select
|
org.make.core.proposal.B2BFirstAlgorithm
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.B2BFirstAlgorithm
|
|
1091
|
25660
|
42357
-
42380
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.proposal.B2BFirstAlgorithm.type](org.make.core.proposal.B2BFirstAlgorithm)
|
|
1093
|
25972
|
42407
-
42407
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1093
|
23609
|
42006
-
44719
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.proposal.proposalservicetest
|
{
<artifact> val x$8: org.make.core.RequestContext = requestContext;
<artifact> val x$9: org.make.core.proposal.SearchQuery = {
<artifact> val x$1: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters](searchFilters);
<artifact> val x$2: Some[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(scala.Some.apply[String](org.make.core.proposal.indexed.ProposalElasticsearchFieldName.createdAt.field), scala.Some.apply[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](com.sksamuel.elastic4s.requests.searches.sort.SortOrder.ASC)));
<artifact> val x$3: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(defaultNumberOfProposals));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[org.make.core.proposal.B2BFirstAlgorithm.type] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.B2BFirstAlgorithm.type](org.make.core.proposal.B2BFirstAlgorithm);
<artifact> val x$6: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$7: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5;
org.make.core.proposal.SearchQuery.apply(x$1, x$6, x$2, x$3, x$7, x$4, x$5)
};
DefaultProposalService.this.searchInIndex(x$9, x$8)
}.flatMap[Option[org.make.api.proposal.ModerationProposalResponse]](((results: org.make.core.proposal.indexed.ProposalsSearchResult) => {
@SuppressWarnings(value = ["org.wartremover.warts.Recursion"]) def recursiveLock(availableProposals: List[org.make.core.proposal.ProposalId]): scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]] = availableProposals match {
case scala.`package`.Nil => scala.concurrent.Future.successful[None.type](scala.None)
case (head: org.make.core.proposal.ProposalId, next: List[org.make.core.proposal.ProposalId]): scala.collection.immutable.::[org.make.core.proposal.ProposalId]((currentProposalId @ _), (otherProposalIds @ _)) => DefaultProposalService.this.getModerationProposalById(currentProposalId).flatMap[Option[org.make.api.proposal.ModerationProposalResponse]](((x0$1: Option[org.make.api.proposal.ModerationProposalResponse]) => x0$1 match {
case scala.None => recursiveLock(otherProposalIds)
case (value: org.make.api.proposal.ModerationProposalResponse): Some[org.make.api.proposal.ModerationProposalResponse]((proposal @ _)) => {
val isValid: scala.concurrent.Future[Boolean] = if (toEnrich)
DefaultProposalServiceComponent.this.tagService.findByTagIds(proposal.tags).flatMap[Boolean](((tags: Seq[org.make.core.tag.Tag]) => DefaultProposalServiceComponent.this.tagTypeService.findAll(scala.Some.apply[Boolean](true)).map[Boolean](((tagTypes: Seq[org.make.core.tag.TagType]) => org.make.core.proposal.Proposal.needsEnrichment(proposal.status, tagTypes, tags.map[org.make.core.tag.TagTypeId](((x$45: org.make.core.tag.Tag) => x$45.tagTypeId)))))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
else
scala.concurrent.Future.successful[Boolean](proposal.status.==(org.make.core.proposal.ProposalStatus.Pending));
isValid.flatMap[Option[org.make.api.proposal.ModerationProposalResponse]](((x0$2: Boolean) => x0$2 match {
case false => recursiveLock(otherProposalIds)
case true => DefaultProposalServiceComponent.this.proposalCoordinatorService.lock(proposal.proposalId, moderator, moderatorFullName, requestContext).map[Some[org.make.api.proposal.ModerationProposalResponse]](((x$46: Option[org.make.core.user.UserId]) => {
searchFilters.status.foreach[Unit](((filter: org.make.core.proposal.StatusSearchFilter) => if (filter.status.contains[org.make.core.proposal.ProposalStatus](proposal.status).unary_!)
DefaultProposalServiceComponent.this.logger.error(("Proposal id=".+(proposal.proposalId.value).+(" with status=").+(proposal.status).+(" incorrectly candidate for moderation, questionId=").+(questionId.value).+(" moderator=").+(moderator.value).+(" toEnrich=").+(toEnrich).+(" searchFilters=").+(searchFilters).+(" requestContext=").+(requestContext): String))
else
()));
scala.Some.apply[org.make.api.proposal.ModerationProposalResponse](proposal)
}))(scala.concurrent.ExecutionContext.Implicits.global).recoverWith[Option[org.make.api.proposal.ModerationProposalResponse]](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Throwable,scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]] with java.io.Serializable {
def <init>(): <$anon: Throwable => scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Throwable, B1 >: scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case _ => recursiveLock(otherProposalIds)
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Throwable): Boolean = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case _ => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Throwable,scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]]))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)
}
}))(scala.concurrent.ExecutionContext.Implicits.global)
};
recursiveLock(results.results.map[org.make.core.proposal.ProposalId](((x$47: org.make.core.proposal.indexed.IndexedProposal) => x$47.id)).toList)
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1097
|
25570
|
42661
-
42684
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[None.type](scala.None)
|
|
1097
|
27741
|
42679
-
42683
|
Select
|
scala.None
|
|
scala.None
|
|
1099
|
24092
|
42810
-
42810
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1099
|
27529
|
42757
-
44633
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalService.this.getModerationProposalById(currentProposalId).flatMap[Option[org.make.api.proposal.ModerationProposalResponse]](((x0$1: Option[org.make.api.proposal.ModerationProposalResponse]) => x0$1 match {
case scala.None => recursiveLock(otherProposalIds)
case (value: org.make.api.proposal.ModerationProposalResponse): Some[org.make.api.proposal.ModerationProposalResponse]((proposal @ _)) => {
val isValid: scala.concurrent.Future[Boolean] = if (toEnrich)
DefaultProposalServiceComponent.this.tagService.findByTagIds(proposal.tags).flatMap[Boolean](((tags: Seq[org.make.core.tag.Tag]) => DefaultProposalServiceComponent.this.tagTypeService.findAll(scala.Some.apply[Boolean](true)).map[Boolean](((tagTypes: Seq[org.make.core.tag.TagType]) => org.make.core.proposal.Proposal.needsEnrichment(proposal.status, tagTypes, tags.map[org.make.core.tag.TagTypeId](((x$45: org.make.core.tag.Tag) => x$45.tagTypeId)))))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
else
scala.concurrent.Future.successful[Boolean](proposal.status.==(org.make.core.proposal.ProposalStatus.Pending));
isValid.flatMap[Option[org.make.api.proposal.ModerationProposalResponse]](((x0$2: Boolean) => x0$2 match {
case false => recursiveLock(otherProposalIds)
case true => DefaultProposalServiceComponent.this.proposalCoordinatorService.lock(proposal.proposalId, moderator, moderatorFullName, requestContext).map[Some[org.make.api.proposal.ModerationProposalResponse]](((x$46: Option[org.make.core.user.UserId]) => {
searchFilters.status.foreach[Unit](((filter: org.make.core.proposal.StatusSearchFilter) => if (filter.status.contains[org.make.core.proposal.ProposalStatus](proposal.status).unary_!)
DefaultProposalServiceComponent.this.logger.error(("Proposal id=".+(proposal.proposalId.value).+(" with status=").+(proposal.status).+(" incorrectly candidate for moderation, questionId=").+(questionId.value).+(" moderator=").+(moderator.value).+(" toEnrich=").+(toEnrich).+(" searchFilters=").+(searchFilters).+(" requestContext=").+(requestContext): String))
else
()));
scala.Some.apply[org.make.api.proposal.ModerationProposalResponse](proposal)
}))(scala.concurrent.ExecutionContext.Implicits.global).recoverWith[Option[org.make.api.proposal.ModerationProposalResponse]](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Throwable,scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]] with java.io.Serializable {
def <init>(): <$anon: Throwable => scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Throwable, B1 >: scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case _ => recursiveLock(otherProposalIds)
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Throwable): Boolean = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case _ => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Throwable,scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]]))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)
}
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1101
|
24287
|
42936
-
42967
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.recursiveLock
|
|
recursiveLock(otherProposalIds)
|
|
1105
|
26020
|
43092
-
43396
|
Block
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalServiceComponent.this.tagService.findByTagIds(proposal.tags).flatMap[Boolean](((tags: Seq[org.make.core.tag.Tag]) => DefaultProposalServiceComponent.this.tagTypeService.findAll(scala.Some.apply[Boolean](true)).map[Boolean](((tagTypes: Seq[org.make.core.tag.TagType]) => org.make.core.proposal.Proposal.needsEnrichment(proposal.status, tagTypes, tags.map[org.make.core.tag.TagTypeId](((x$45: org.make.core.tag.Tag) => x$45.tagTypeId)))))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1105
|
28041
|
43156
-
43169
|
Select
|
org.make.api.proposal.ModerationProposalResponse.tags
|
|
proposal.tags
|
|
1105
|
24222
|
43129
-
43129
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1105
|
28053
|
43092
-
43396
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultProposalServiceComponent.this.tagService.findByTagIds(proposal.tags).flatMap[Boolean](((tags: Seq[org.make.core.tag.Tag]) => DefaultProposalServiceComponent.this.tagTypeService.findAll(scala.Some.apply[Boolean](true)).map[Boolean](((tagTypes: Seq[org.make.core.tag.TagType]) => org.make.core.proposal.Proposal.needsEnrichment(proposal.status, tagTypes, tags.map[org.make.core.tag.TagTypeId](((x$45: org.make.core.tag.Tag) => x$45.tagTypeId)))))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1106
|
25671
|
43258
-
43268
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Boolean](true)
|
|
1106
|
25582
|
43193
-
43396
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultProposalServiceComponent.this.tagTypeService.findAll(scala.Some.apply[Boolean](true)).map[Boolean](((tagTypes: Seq[org.make.core.tag.TagType]) => org.make.core.proposal.Proposal.needsEnrichment(proposal.status, tagTypes, tags.map[org.make.core.tag.TagTypeId](((x$45: org.make.core.tag.Tag) => x$45.tagTypeId)))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1106
|
27747
|
43202
-
43202
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1108
|
23936
|
43322
-
43396
|
Apply
|
org.make.core.proposal.Proposal.needsEnrichment
|
|
org.make.core.proposal.Proposal.needsEnrichment(proposal.status, tagTypes, tags.map[org.make.core.tag.TagTypeId](((x$45: org.make.core.tag.Tag) => x$45.tagTypeId)))
|
|
1108
|
27443
|
43383
-
43394
|
Select
|
org.make.core.tag.Tag.tagTypeId
|
|
x$45.tagTypeId
|
|
1108
|
23605
|
43347
-
43362
|
Select
|
org.make.api.proposal.ModerationProposalResponse.status
|
|
proposal.status
|
|
1108
|
26183
|
43374
-
43395
|
Apply
|
scala.collection.IterableOps.map
|
|
tags.map[org.make.core.tag.TagTypeId](((x$45: org.make.core.tag.Tag) => x$45.tagTypeId))
|
|
1111
|
23948
|
43466
-
43511
|
Block
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[Boolean](proposal.status.==(org.make.core.proposal.ProposalStatus.Pending))
|
|
1111
|
27285
|
43484
-
43510
|
Apply
|
java.lang.Object.==
|
|
proposal.status.==(org.make.core.proposal.ProposalStatus.Pending)
|
|
1111
|
26109
|
43466
-
43511
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[Boolean](proposal.status.==(org.make.core.proposal.ProposalStatus.Pending))
|
|
1111
|
23614
|
43503
-
43510
|
Select
|
org.make.core.proposal.ProposalStatus.Pending
|
|
org.make.core.proposal.ProposalStatus.Pending
|
|
1114
|
27435
|
43567
-
43567
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1114
|
26054
|
43551
-
44617
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
isValid.flatMap[Option[org.make.api.proposal.ModerationProposalResponse]](((x0$2: Boolean) => x0$2 match {
case false => recursiveLock(otherProposalIds)
case true => DefaultProposalServiceComponent.this.proposalCoordinatorService.lock(proposal.proposalId, moderator, moderatorFullName, requestContext).map[Some[org.make.api.proposal.ModerationProposalResponse]](((x$46: Option[org.make.core.user.UserId]) => {
searchFilters.status.foreach[Unit](((filter: org.make.core.proposal.StatusSearchFilter) => if (filter.status.contains[org.make.core.proposal.ProposalStatus](proposal.status).unary_!)
DefaultProposalServiceComponent.this.logger.error(("Proposal id=".+(proposal.proposalId.value).+(" with status=").+(proposal.status).+(" incorrectly candidate for moderation, questionId=").+(questionId.value).+(" moderator=").+(moderator.value).+(" toEnrich=").+(toEnrich).+(" searchFilters=").+(searchFilters).+(" requestContext=").+(requestContext): String))
else
()));
scala.Some.apply[org.make.api.proposal.ModerationProposalResponse](proposal)
}))(scala.concurrent.ExecutionContext.Implicits.global).recoverWith[Option[org.make.api.proposal.ModerationProposalResponse]](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Throwable,scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]] with java.io.Serializable {
def <init>(): <$anon: Throwable => scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Throwable, B1 >: scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case _ => recursiveLock(otherProposalIds)
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Throwable): Boolean = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case _ => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Throwable,scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]]))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1115
|
27881
|
43603
-
43634
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.recursiveLock
|
|
recursiveLock(otherProposalIds)
|
|
1118
|
25503
|
43747
-
43766
|
Select
|
org.make.api.proposal.ModerationProposalResponse.proposalId
|
|
proposal.proposalId
|
|
1119
|
25562
|
43843
-
43843
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1120
|
24082
|
43876
-
44447
|
Apply
|
scala.Option.foreach
|
|
searchFilters.status.foreach[Unit](((filter: org.make.core.proposal.StatusSearchFilter) => if (filter.status.contains[org.make.core.proposal.ProposalStatus](proposal.status).unary_!)
DefaultProposalServiceComponent.this.logger.error(("Proposal id=".+(proposal.proposalId.value).+(" with status=").+(proposal.status).+(" incorrectly candidate for moderation, questionId=").+(questionId.value).+(" moderator=").+(moderator.value).+(" toEnrich=").+(toEnrich).+(" searchFilters=").+(searchFilters).+(" requestContext=").+(requestContext): String))
else
()))
|
|
1122
|
26125
|
43974
-
43974
|
Block
|
<nosymbol>
|
|
()
|
|
1122
|
23166
|
44002
-
44017
|
Select
|
org.make.api.proposal.ModerationProposalResponse.status
|
|
proposal.status
|
|
1122
|
27221
|
43974
-
43974
|
Literal
|
<nosymbol>
|
|
()
|
|
1122
|
27974
|
43978
-
44018
|
Select
|
scala.Boolean.unary_!
|
|
filter.status.contains[org.make.core.proposal.ProposalStatus](proposal.status).unary_!
|
|
1123
|
25656
|
44054
-
44387
|
Apply
|
grizzled.slf4j.Logger.error
|
|
DefaultProposalServiceComponent.this.logger.error(("Proposal id=".+(proposal.proposalId.value).+(" with status=").+(proposal.status).+(" incorrectly candidate for moderation, questionId=").+(questionId.value).+(" moderator=").+(moderator.value).+(" toEnrich=").+(toEnrich).+(" searchFilters=").+(searchFilters).+(" requestContext=").+(requestContext): String))
|
|
1123
|
23467
|
44054
-
44387
|
Block
|
grizzled.slf4j.Logger.error
|
|
DefaultProposalServiceComponent.this.logger.error(("Proposal id=".+(proposal.proposalId.value).+(" with status=").+(proposal.status).+(" incorrectly candidate for moderation, questionId=").+(questionId.value).+(" moderator=").+(moderator.value).+(" toEnrich=").+(toEnrich).+(" searchFilters=").+(searchFilters).+(" requestContext=").+(requestContext): String))
|
|
1128
|
27520
|
44474
-
44488
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.api.proposal.ModerationProposalResponse](proposal)
|
|
1130
|
25961
|
44552
-
44552
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1130
|
27987
|
44552
-
44552
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.$anonfun.<init>
|
|
new $anonfun()
|
|
1130
|
23396
|
43690
-
44597
|
ApplyToImplicitArgs
|
scala.concurrent.Future.recoverWith
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.lock(proposal.proposalId, moderator, moderatorFullName, requestContext).map[Some[org.make.api.proposal.ModerationProposalResponse]](((x$46: Option[org.make.core.user.UserId]) => {
searchFilters.status.foreach[Unit](((filter: org.make.core.proposal.StatusSearchFilter) => if (filter.status.contains[org.make.core.proposal.ProposalStatus](proposal.status).unary_!)
DefaultProposalServiceComponent.this.logger.error(("Proposal id=".+(proposal.proposalId.value).+(" with status=").+(proposal.status).+(" incorrectly candidate for moderation, questionId=").+(questionId.value).+(" moderator=").+(moderator.value).+(" toEnrich=").+(toEnrich).+(" searchFilters=").+(searchFilters).+(" requestContext=").+(requestContext): String))
else
()));
scala.Some.apply[org.make.api.proposal.ModerationProposalResponse](proposal)
}))(scala.concurrent.ExecutionContext.Implicits.global).recoverWith[Option[org.make.api.proposal.ModerationProposalResponse]](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Throwable,scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]] with java.io.Serializable {
def <init>(): <$anon: Throwable => scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Throwable, B1 >: scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case _ => recursiveLock(otherProposalIds)
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Throwable): Boolean = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case _ => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Throwable,scala.concurrent.Future[Option[org.make.api.proposal.ModerationProposalResponse]]]))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1130
|
23094
|
44564
-
44595
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.recursiveLock
|
|
recursiveLock(otherProposalIds)
|
|
1135
|
23323
|
44678
-
44710
|
Select
|
scala.collection.IterableOnceOps.toList
|
|
results.results.map[org.make.core.proposal.ProposalId](((x$47: org.make.core.proposal.indexed.IndexedProposal) => x$47.id)).toList
|
|
1135
|
28146
|
44664
-
44711
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.recursiveLock
|
|
recursiveLock(results.results.map[org.make.core.proposal.ProposalId](((x$47: org.make.core.proposal.indexed.IndexedProposal) => x$47.id)).toList)
|
|
1135
|
25486
|
44698
-
44702
|
Select
|
org.make.core.proposal.indexed.IndexedProposal.id
|
|
x$47.id
|
|
1140
|
25207
|
44851
-
44899
|
Apply
|
scala.concurrent.Future.successful
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.Future.successful[org.make.api.proposal.TagsForProposalResponse](TagsForProposalResponse.empty)
|
|
1140
|
24965
|
44826
-
45328
|
Apply
|
scala.Option.fold
|
org.make.api.proposal.proposalservicetest
|
proposal.questionId.fold[scala.concurrent.Future[org.make.api.proposal.TagsForProposalResponse]](scala.concurrent.Future.successful[org.make.api.proposal.TagsForProposalResponse](TagsForProposalResponse.empty))(((questionId: org.make.core.question.QuestionId) => {
val futureTags: scala.concurrent.Future[Seq[org.make.core.tag.Tag]] = DefaultProposalServiceComponent.this.tagService.findByQuestionId(questionId);
futureTags.map[org.make.api.proposal.TagsForProposalResponse](((questionTags: Seq[org.make.core.tag.Tag]) => {
val tags: Seq[org.make.api.proposal.TagForProposalResponse] = questionTags.map[org.make.api.proposal.TagForProposalResponse](((tag: org.make.core.tag.Tag) => {
val checked: Boolean = proposal.tags.contains[org.make.core.tag.TagId](tag.tagId);
TagForProposalResponse.apply(tag, checked, false)
}));
TagsForProposalResponse.apply(tags, "none")
}))(scala.concurrent.ExecutionContext.Implicits.global)
}))
|
|
1140
|
27360
|
44869
-
44898
|
Select
|
org.make.api.proposal.TagsForProposalResponse.empty
|
org.make.api.proposal.proposalservicetest
|
TagsForProposalResponse.empty
|
|
1141
|
24101
|
44960
-
44999
|
Apply
|
org.make.api.tag.TagService.findByQuestionId
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalServiceComponent.this.tagService.findByQuestionId(questionId)
|
|
1142
|
23549
|
45023
-
45023
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1142
|
27374
|
45008
-
45320
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
org.make.api.proposal.proposalservicetest
|
futureTags.map[org.make.api.proposal.TagsForProposalResponse](((questionTags: Seq[org.make.core.tag.Tag]) => {
val tags: Seq[org.make.api.proposal.TagForProposalResponse] = questionTags.map[org.make.api.proposal.TagForProposalResponse](((tag: org.make.core.tag.Tag) => {
val checked: Boolean = proposal.tags.contains[org.make.core.tag.TagId](tag.tagId);
TagForProposalResponse.apply(tag, checked, false)
}));
TagsForProposalResponse.apply(tags, "none")
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1143
|
27968
|
45062
-
45243
|
Apply
|
scala.collection.IterableOps.map
|
|
questionTags.map[org.make.api.proposal.TagForProposalResponse](((tag: org.make.core.tag.Tag) => {
val checked: Boolean = proposal.tags.contains[org.make.core.tag.TagId](tag.tagId);
TagForProposalResponse.apply(tag, checked, false)
}))
|
|
1144
|
27828
|
45137
-
45146
|
Select
|
org.make.core.tag.Tag.tagId
|
|
tag.tagId
|
|
1144
|
25498
|
45114
-
45147
|
Apply
|
scala.collection.SeqOps.contains
|
|
proposal.tags.contains[org.make.core.tag.TagId](tag.tagId)
|
|
1145
|
23248
|
45160
-
45231
|
Apply
|
org.make.api.proposal.TagForProposalResponse.apply
|
|
TagForProposalResponse.apply(tag, checked, false)
|
|
1147
|
25982
|
45254
-
45310
|
Apply
|
org.make.api.proposal.TagsForProposalResponse.apply
|
|
TagsForProposalResponse.apply(tags, "none")
|
|
1153
|
27839
|
45420
-
45470
|
Apply
|
scala.Int.!=
|
|
qualification.count.!=(qualification.countVerified)
|
|
1153
|
23863
|
45443
-
45470
|
Select
|
org.make.core.proposal.Qualification.countVerified
|
|
qualification.countVerified
|
|
1156
|
25751
|
45551
-
45687
|
Apply
|
scala.Boolean.||
|
org.make.api.proposal.proposalservicetest
|
voteWrapper.vote.count.!=(voteWrapper.vote.countVerified).||(voteWrapper.deprecatedQualificationsSeq.exists(((qualification: org.make.core.proposal.Qualification) => DefaultProposalService.this.trolledQualification(qualification))))
|
|
1156
|
25426
|
45577
-
45607
|
Select
|
org.make.core.proposal.Vote.countVerified
|
org.make.api.proposal.proposalservicetest
|
voteWrapper.vote.countVerified
|
|
1157
|
27982
|
45619
-
45687
|
Apply
|
scala.collection.IterableOnceOps.exists
|
|
voteWrapper.deprecatedQualificationsSeq.exists(((qualification: org.make.core.proposal.Qualification) => DefaultProposalService.this.trolledQualification(qualification)))
|
|
1157
|
23262
|
45666
-
45686
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.trolledQualification
|
|
DefaultProposalService.this.trolledQualification(qualification)
|
|
1160
|
23558
|
45767
-
45790
|
Select
|
org.make.core.proposal.ProposalStatus.Accepted
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.ProposalStatus.Accepted
|
|
1160
|
25764
|
45748
-
46012
|
Apply
|
scala.Boolean.&&
|
org.make.api.proposal.proposalservicetest
|
proposal.status.==(org.make.core.proposal.ProposalStatus.Accepted).&&(proposal.votingOptions.exists(((votingOptions: org.make.core.proposal.VotingOptions) => DefaultProposalService.this.trolledVote(votingOptions.agreeVote).||(DefaultProposalService.this.trolledVote(votingOptions.neutralVote)).||(DefaultProposalService.this.trolledVote(votingOptions.disagreeVote)))))
|
|
1161
|
26862
|
45802
-
46012
|
Apply
|
scala.Option.exists
|
org.make.api.proposal.proposalservicetest
|
proposal.votingOptions.exists(((votingOptions: org.make.core.proposal.VotingOptions) => DefaultProposalService.this.trolledVote(votingOptions.agreeVote).||(DefaultProposalService.this.trolledVote(votingOptions.neutralVote)).||(DefaultProposalService.this.trolledVote(votingOptions.disagreeVote))))
|
|
1162
|
27298
|
45873
-
45896
|
Select
|
org.make.core.proposal.VotingOptions.agreeVote
|
org.make.api.proposal.proposalservicetest
|
votingOptions.agreeVote
|
|
1163
|
24977
|
45923
-
45948
|
Select
|
org.make.core.proposal.VotingOptions.neutralVote
|
org.make.api.proposal.proposalservicetest
|
votingOptions.neutralVote
|
|
1163
|
23100
|
45861
-
46002
|
Apply
|
scala.Boolean.||
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalService.this.trolledVote(votingOptions.agreeVote).||(DefaultProposalService.this.trolledVote(votingOptions.neutralVote)).||(DefaultProposalService.this.trolledVote(votingOptions.disagreeVote))
|
|
1163
|
23877
|
45911
-
45949
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.trolledVote
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalService.this.trolledVote(votingOptions.neutralVote)
|
|
1164
|
27812
|
45975
-
46001
|
Select
|
org.make.core.proposal.VotingOptions.disagreeVote
|
org.make.api.proposal.proposalservicetest
|
votingOptions.disagreeVote
|
|
1164
|
25434
|
45963
-
46002
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.trolledVote
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalService.this.trolledVote(votingOptions.disagreeVote)
|
|
1168
|
23688
|
46131
-
46157
|
Apply
|
java.lang.System.currentTimeMillis
|
org.make.api.proposal.proposalservicetest
|
java.lang.System.currentTimeMillis()
|
|
1172
|
27306
|
46232
-
46233
|
Literal
|
<nosymbol>
|
org.make.api.proposal.proposalservicetest
|
4
|
|
1173
|
23796
|
46253
-
46307
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.getProposal
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.getProposal(org.make.core.proposal.ProposalId.apply(id))
|
|
1173
|
24985
|
46292
-
46306
|
Apply
|
org.make.core.proposal.ProposalId.apply
|
|
org.make.core.proposal.ProposalId.apply(id)
|
|
1175
|
25583
|
46335
-
46335
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.$anonfun.<init>
|
org.make.api.proposal.proposalservicetest
|
new $anonfun()
|
|
1176
|
27822
|
46370
-
46393
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.needVoteReset
|
|
DefaultProposalService.this.needVoteReset(proposal)
|
|
1178
|
23036
|
46434
-
46435
|
Literal
|
<nosymbol>
|
org.make.api.proposal.proposalservicetest
|
4
|
|
1179
|
25907
|
46480
-
46551
|
Apply
|
scala.Option.fold
|
|
proposal.votingOptions.fold[Seq[org.make.core.proposal.VotingOptionWrapper]](scala.`package`.Seq.empty[org.make.core.proposal.VotingOptionWrapper])(((x$48: org.make.core.proposal.VotingOptions) => x$48.wrappers))
|
|
1179
|
26875
|
46508
-
46538
|
TypeApply
|
scala.collection.SeqFactory.Delegate.empty
|
|
scala.`package`.Seq.empty[org.make.core.proposal.VotingOptionWrapper]
|
|
1180
|
22729
|
46562
-
47746
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.updateVotes
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.updateVotes(adminUserId, proposal.proposalId, requestContext, org.make.core.DateHelper.now(), voteWrappers.filter(((voteWrapper: org.make.core.proposal.VotingOptionWrapper) => DefaultProposalService.this.trolledVote(voteWrapper))).map[org.make.api.proposal.UpdateVoteRequest](((voteWrapper: org.make.core.proposal.VotingOptionWrapper) => UpdateVoteRequest.apply(voteWrapper.vote.key, scala.Some.apply[Int](voteWrapper.vote.countVerified), scala.None, scala.None, scala.None, voteWrapper.deprecatedQualificationsSeq.collect[org.make.api.proposal.UpdateQualificationRequest](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[org.make.core.proposal.Qualification,org.make.api.proposal.UpdateQualificationRequest] with java.io.Serializable {
def <init>(): <$anon: org.make.core.proposal.Qualification => org.make.api.proposal.UpdateQualificationRequest> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: org.make.core.proposal.Qualification, B1 >: org.make.api.proposal.UpdateQualificationRequest](x2: A1, default: A1 => B1): B1 = ((x2.asInstanceOf[org.make.core.proposal.Qualification]: org.make.core.proposal.Qualification): org.make.core.proposal.Qualification @unchecked) match {
case (qualification @ _) if DefaultProposalService.this.trolledQualification(qualification) => UpdateQualificationRequest.apply(qualification.key, scala.Some.apply[Int](qualification.countVerified), scala.None, scala.None, scala.None)
case (defaultCase$ @ _) => default.apply(x2)
};
final def isDefinedAt(x2: org.make.core.proposal.Qualification): Boolean = ((x2.asInstanceOf[org.make.core.proposal.Qualification]: org.make.core.proposal.Qualification): org.make.core.proposal.Qualification @unchecked) match {
case (qualification @ _) if DefaultProposalService.this.trolledQualification(qualification) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[org.make.core.proposal.Qualification,org.make.api.proposal.UpdateQualificationRequest]))))))
|
|
1182
|
23701
|
46664
-
46683
|
Select
|
org.make.core.proposal.Proposal.proposalId
|
|
proposal.proposalId
|
|
1184
|
27366
|
46754
-
46770
|
Apply
|
org.make.core.DefaultDateHelper.now
|
|
org.make.core.DateHelper.now()
|
|
1186
|
24918
|
46827
-
46838
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.trolledVote
|
|
DefaultProposalService.this.trolledVote(voteWrapper)
|
|
1187
|
25065
|
46792
-
47734
|
Apply
|
scala.collection.IterableOps.map
|
|
voteWrappers.filter(((voteWrapper: org.make.core.proposal.VotingOptionWrapper) => DefaultProposalService.this.trolledVote(voteWrapper))).map[org.make.api.proposal.UpdateVoteRequest](((voteWrapper: org.make.core.proposal.VotingOptionWrapper) => UpdateVoteRequest.apply(voteWrapper.vote.key, scala.Some.apply[Int](voteWrapper.vote.countVerified), scala.None, scala.None, scala.None, voteWrapper.deprecatedQualificationsSeq.collect[org.make.api.proposal.UpdateQualificationRequest](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[org.make.core.proposal.Qualification,org.make.api.proposal.UpdateQualificationRequest] with java.io.Serializable {
def <init>(): <$anon: org.make.core.proposal.Qualification => org.make.api.proposal.UpdateQualificationRequest> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: org.make.core.proposal.Qualification, B1 >: org.make.api.proposal.UpdateQualificationRequest](x2: A1, default: A1 => B1): B1 = ((x2.asInstanceOf[org.make.core.proposal.Qualification]: org.make.core.proposal.Qualification): org.make.core.proposal.Qualification @unchecked) match {
case (qualification @ _) if DefaultProposalService.this.trolledQualification(qualification) => UpdateQualificationRequest.apply(qualification.key, scala.Some.apply[Int](qualification.countVerified), scala.None, scala.None, scala.None)
case (defaultCase$ @ _) => default.apply(x2)
};
final def isDefinedAt(x2: org.make.core.proposal.Qualification): Boolean = ((x2.asInstanceOf[org.make.core.proposal.Qualification]: org.make.core.proposal.Qualification): org.make.core.proposal.Qualification @unchecked) match {
case (qualification @ _) if DefaultProposalService.this.trolledQualification(qualification) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[org.make.core.proposal.Qualification,org.make.api.proposal.UpdateQualificationRequest])))))
|
|
1189
|
27301
|
46909
-
47718
|
Apply
|
org.make.api.proposal.UpdateVoteRequest.apply
|
|
UpdateVoteRequest.apply(voteWrapper.vote.key, scala.Some.apply[Int](voteWrapper.vote.countVerified), scala.None, scala.None, scala.None, voteWrapper.deprecatedQualificationsSeq.collect[org.make.api.proposal.UpdateQualificationRequest](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[org.make.core.proposal.Qualification,org.make.api.proposal.UpdateQualificationRequest] with java.io.Serializable {
def <init>(): <$anon: org.make.core.proposal.Qualification => org.make.api.proposal.UpdateQualificationRequest> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: org.make.core.proposal.Qualification, B1 >: org.make.api.proposal.UpdateQualificationRequest](x2: A1, default: A1 => B1): B1 = ((x2.asInstanceOf[org.make.core.proposal.Qualification]: org.make.core.proposal.Qualification): org.make.core.proposal.Qualification @unchecked) match {
case (qualification @ _) if DefaultProposalService.this.trolledQualification(qualification) => UpdateQualificationRequest.apply(qualification.key, scala.Some.apply[Int](qualification.countVerified), scala.None, scala.None, scala.None)
case (defaultCase$ @ _) => default.apply(x2)
};
final def isDefinedAt(x2: org.make.core.proposal.Qualification): Boolean = ((x2.asInstanceOf[org.make.core.proposal.Qualification]: org.make.core.proposal.Qualification): org.make.core.proposal.Qualification @unchecked) match {
case (qualification @ _) if DefaultProposalService.this.trolledQualification(qualification) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[org.make.core.proposal.Qualification,org.make.api.proposal.UpdateQualificationRequest])))
|
|
1190
|
22745
|
46954
-
46974
|
Select
|
org.make.core.proposal.Vote.key
|
|
voteWrapper.vote.key
|
|
1191
|
25592
|
47004
-
47040
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](voteWrapper.vote.countVerified)
|
|
1191
|
27753
|
47009
-
47039
|
Select
|
org.make.core.proposal.Vote.countVerified
|
|
voteWrapper.vote.countVerified
|
|
1192
|
23255
|
47078
-
47082
|
Select
|
scala.None
|
|
scala.None
|
|
1193
|
26799
|
47120
-
47124
|
Select
|
scala.None
|
|
scala.None
|
|
1194
|
25915
|
47161
-
47165
|
Select
|
scala.None
|
|
scala.None
|
|
1195
|
23638
|
47204
-
47698
|
Apply
|
scala.collection.IterableOps.collect
|
|
voteWrapper.deprecatedQualificationsSeq.collect[org.make.api.proposal.UpdateQualificationRequest](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[org.make.core.proposal.Qualification,org.make.api.proposal.UpdateQualificationRequest] with java.io.Serializable {
def <init>(): <$anon: org.make.core.proposal.Qualification => org.make.api.proposal.UpdateQualificationRequest> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: org.make.core.proposal.Qualification, B1 >: org.make.api.proposal.UpdateQualificationRequest](x2: A1, default: A1 => B1): B1 = ((x2.asInstanceOf[org.make.core.proposal.Qualification]: org.make.core.proposal.Qualification): org.make.core.proposal.Qualification @unchecked) match {
case (qualification @ _) if DefaultProposalService.this.trolledQualification(qualification) => UpdateQualificationRequest.apply(qualification.key, scala.Some.apply[Int](qualification.countVerified), scala.None, scala.None, scala.None)
case (defaultCase$ @ _) => default.apply(x2)
};
final def isDefinedAt(x2: org.make.core.proposal.Qualification): Boolean = ((x2.asInstanceOf[org.make.core.proposal.Qualification]: org.make.core.proposal.Qualification): org.make.core.proposal.Qualification @unchecked) match {
case (qualification @ _) if DefaultProposalService.this.trolledQualification(qualification) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[org.make.core.proposal.Qualification,org.make.api.proposal.UpdateQualificationRequest]))
|
|
1195
|
25857
|
47252
-
47252
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.$anonfun.<init>
|
|
new $anonfun()
|
|
1196
|
23627
|
47298
-
47333
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.trolledQualification
|
|
DefaultProposalService.this.trolledQualification(qualification)
|
|
1197
|
27016
|
47361
-
47676
|
Apply
|
org.make.api.proposal.UpdateQualificationRequest.apply
|
|
UpdateQualificationRequest.apply(qualification.key, scala.Some.apply[Int](qualification.countVerified), scala.None, scala.None, scala.None)
|
|
1198
|
27294
|
47421
-
47438
|
Select
|
org.make.core.proposal.Qualification.key
|
|
qualification.key
|
|
1199
|
25143
|
47479
-
47506
|
Select
|
org.make.core.proposal.Qualification.countVerified
|
|
qualification.countVerified
|
|
1199
|
22891
|
47474
-
47507
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](qualification.countVerified)
|
|
1200
|
27764
|
47551
-
47555
|
Select
|
scala.None
|
|
scala.None
|
|
1201
|
25431
|
47599
-
47603
|
Select
|
scala.None
|
|
scala.None
|
|
1202
|
23175
|
47646
-
47650
|
Select
|
scala.None
|
|
scala.None
|
|
1209
|
25371
|
47773
-
47773
|
Select
|
org.make.api.technical.ActorSystemComponent.actorSystem
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalServiceComponent.this.actorSystem
|
|
1209
|
23187
|
47773
-
47773
|
ApplyToImplicitArgs
|
akka.stream.Materializer.matFromSystem
|
org.make.api.proposal.proposalservicetest
|
stream.this.Materializer.matFromSystem(DefaultProposalServiceComponent.this.actorSystem)
|
|
1209
|
27774
|
47774
-
47785
|
Select
|
akka.stream.scaladsl.Sink.ignore
|
org.make.api.proposal.proposalservicetest
|
akka.stream.scaladsl.Sink.ignore
|
|
1210
|
23651
|
47800
-
47800
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1210
|
27238
|
46165
-
47943
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalServiceComponent.this.proposalJournal.currentPersistenceIds().mapAsync[Option[org.make.core.proposal.Proposal]](4)(((id: String) => DefaultProposalServiceComponent.this.proposalCoordinatorService.getProposal(org.make.core.proposal.ProposalId.apply(id)))).collect[org.make.core.proposal.Proposal](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Option[org.make.core.proposal.Proposal],org.make.core.proposal.Proposal] with java.io.Serializable {
def <init>(): <$anon: Option[org.make.core.proposal.Proposal] => org.make.core.proposal.Proposal> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Option[org.make.core.proposal.Proposal], B1 >: org.make.core.proposal.Proposal](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Option[org.make.core.proposal.Proposal]]: Option[org.make.core.proposal.Proposal]): Option[org.make.core.proposal.Proposal] @unchecked) match {
case (value: org.make.core.proposal.Proposal): Some[org.make.core.proposal.Proposal]((proposal @ _)) if DefaultProposalService.this.needVoteReset(proposal) => proposal
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Option[org.make.core.proposal.Proposal]): Boolean = ((x1.asInstanceOf[Option[org.make.core.proposal.Proposal]]: Option[org.make.core.proposal.Proposal]): Option[org.make.core.proposal.Proposal] @unchecked) match {
case (value: org.make.core.proposal.Proposal): Some[org.make.core.proposal.Proposal]((proposal @ _)) if DefaultProposalService.this.needVoteReset(proposal) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Option[org.make.core.proposal.Proposal],org.make.core.proposal.Proposal])).mapAsync[Option[org.make.core.proposal.Proposal]](4)(((proposal: org.make.core.proposal.Proposal) => {
val voteWrappers: Seq[org.make.core.proposal.VotingOptionWrapper] = proposal.votingOptions.fold[Seq[org.make.core.proposal.VotingOptionWrapper]](scala.`package`.Seq.empty[org.make.core.proposal.VotingOptionWrapper])(((x$48: org.make.core.proposal.VotingOptions) => x$48.wrappers));
DefaultProposalServiceComponent.this.proposalCoordinatorService.updateVotes(adminUserId, proposal.proposalId, requestContext, org.make.core.DateHelper.now(), voteWrappers.filter(((voteWrapper: org.make.core.proposal.VotingOptionWrapper) => DefaultProposalService.this.trolledVote(voteWrapper))).map[org.make.api.proposal.UpdateVoteRequest](((voteWrapper: org.make.core.proposal.VotingOptionWrapper) => UpdateVoteRequest.apply(voteWrapper.vote.key, scala.Some.apply[Int](voteWrapper.vote.countVerified), scala.None, scala.None, scala.None, voteWrapper.deprecatedQualificationsSeq.collect[org.make.api.proposal.UpdateQualificationRequest](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[org.make.core.proposal.Qualification,org.make.api.proposal.UpdateQualificationRequest] with java.io.Serializable {
def <init>(): <$anon: org.make.core.proposal.Qualification => org.make.api.proposal.UpdateQualificationRequest> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: org.make.core.proposal.Qualification, B1 >: org.make.api.proposal.UpdateQualificationRequest](x2: A1, default: A1 => B1): B1 = ((x2.asInstanceOf[org.make.core.proposal.Qualification]: org.make.core.proposal.Qualification): org.make.core.proposal.Qualification @unchecked) match {
case (qualification @ _) if DefaultProposalService.this.trolledQualification(qualification) => UpdateQualificationRequest.apply(qualification.key, scala.Some.apply[Int](qualification.countVerified), scala.None, scala.None, scala.None)
case (defaultCase$ @ _) => default.apply(x2)
};
final def isDefinedAt(x2: org.make.core.proposal.Qualification): Boolean = ((x2.asInstanceOf[org.make.core.proposal.Qualification]: org.make.core.proposal.Qualification): org.make.core.proposal.Qualification @unchecked) match {
case (qualification @ _) if DefaultProposalService.this.trolledQualification(qualification) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[org.make.core.proposal.Qualification,org.make.api.proposal.UpdateQualificationRequest]))))))
})).runWith[scala.concurrent.Future[akka.Done]](akka.stream.scaladsl.Sink.ignore)(stream.this.Materializer.matFromSystem(DefaultProposalServiceComponent.this.actorSystem)).map[akka.Done](((res: akka.Done) => {
val time: Long = java.lang.System.currentTimeMillis().-(start);
DefaultProposalServiceComponent.this.logger.info(("ResetVotes ended in ".+(time).+(" ms"): String));
res
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1211
|
26786
|
47830
-
47864
|
Apply
|
scala.Long.-
|
|
java.lang.System.currentTimeMillis().-(start)
|
|
1212
|
24611
|
47875
-
47919
|
Apply
|
grizzled.slf4j.Logger.info
|
|
DefaultProposalServiceComponent.this.logger.info(("ResetVotes ended in ".+(time).+(" ms"): String))
|
|
1223
|
25077
|
48134
-
48207
|
Apply
|
org.make.api.technical.crm.QuestionResolver.extractQuestionWithOperationFromRequestContext
|
org.make.api.proposal.proposalservicetest
|
resolver.extractQuestionWithOperationFromRequestContext(context)
|
|
1224
|
27541
|
48247
-
48280
|
Apply
|
scala.concurrent.Future.successful
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.Future.successful[Some[org.make.core.question.Question]](scala.Some.apply[org.make.core.question.Question](question))
|
|
1224
|
22654
|
48265
-
48279
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.question.Question](question)
|
|
1228
|
27249
|
48312
-
48586
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.getProposal(proposalId).map[Option[org.make.core.question.Question]](((maybeProposal: Option[org.make.core.proposal.Proposal]) => resolver.findQuestionWithOperation(((question: org.make.core.question.Question) => maybeProposal.flatMap[org.make.core.question.QuestionId](((x$49: org.make.core.proposal.Proposal) => x$49.questionId)).contains[org.make.core.question.QuestionId](question.questionId)))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1228
|
23620
|
48393
-
48393
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1229
|
24622
|
48426
-
48572
|
Apply
|
org.make.api.technical.crm.QuestionResolver.findQuestionWithOperation
|
|
resolver.findQuestionWithOperation(((question: org.make.core.question.Question) => maybeProposal.flatMap[org.make.core.question.QuestionId](((x$49: org.make.core.proposal.Proposal) => x$49.questionId)).contains[org.make.core.question.QuestionId](question.questionId)))
|
|
1230
|
26795
|
48491
-
48556
|
Apply
|
scala.Option.contains
|
|
maybeProposal.flatMap[org.make.core.question.QuestionId](((x$49: org.make.core.proposal.Proposal) => x$49.questionId)).contains[org.make.core.question.QuestionId](question.questionId)
|
|
1230
|
23117
|
48536
-
48555
|
Select
|
org.make.core.question.Question.questionId
|
|
question.questionId
|
|
1230
|
25377
|
48513
-
48525
|
Select
|
org.make.core.proposal.Proposal.questionId
|
|
x$49.questionId
|
|
1238
|
26954
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$20
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$20
|
|
1238
|
22827
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$25
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$25
|
|
1238
|
26882
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$29
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$29
|
|
1238
|
22677
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$5
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$5
|
|
1238
|
27175
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$23
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$23
|
|
1238
|
25455
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$27
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$27
|
|
1238
|
25440
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$18
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$18
|
|
1238
|
24543
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$30
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$30
|
|
1238
|
26642
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$6
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$6
|
|
1238
|
23101
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$9
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$9
|
|
1238
|
23119
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$28
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$28
|
|
1238
|
23633
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$2
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$2
|
|
1238
|
26585
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$26
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$26
|
|
1238
|
27395
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$13
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$13
|
|
1238
|
27108
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$10
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$10
|
|
1238
|
22981
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$16
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$16
|
|
1238
|
25242
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$4
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$4
|
|
1238
|
23567
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$12
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$12
|
|
1238
|
24563
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$11
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$11
|
|
1238
|
25068
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$15
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$15
|
|
1238
|
22517
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$22
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$22
|
|
1238
|
22439
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$31
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$31
|
|
1238
|
24996
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$24
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$24
|
|
1238
|
27185
|
48717
-
48863
|
Apply
|
org.make.core.proposal.SearchFilters.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$2, x$10, x$11, x$12, x$13, x$14, x$1, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
|
|
1238
|
24550
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$1
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$1
|
|
1238
|
27385
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$3
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$3
|
|
1238
|
25522
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$7
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$7
|
|
1238
|
23111
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$19
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$19
|
|
1238
|
24708
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$21
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$21
|
|
1238
|
26655
|
48717
-
48717
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$17
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$17
|
|
1239
|
26499
|
48750
-
48785
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.proposal.UserSearchFilter](org.make.core.proposal.UserSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.user.UserId](userId)))
|
|
1239
|
25235
|
48772
-
48783
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
org.make.api.proposal.proposalservicetest
|
scala.`package`.Seq.apply[org.make.core.user.UserId](userId)
|
|
1239
|
22666
|
48755
-
48784
|
Apply
|
org.make.core.proposal.UserSearchFilter.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.UserSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.user.UserId](userId))
|
|
1240
|
25509
|
48830
-
48851
|
Select
|
org.make.core.proposal.ProposalStatus.values
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.ProposalStatus.values
|
|
1240
|
23124
|
48811
-
48852
|
Apply
|
org.make.core.proposal.StatusSearchFilter.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values)
|
|
1240
|
27101
|
48806
-
48853
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values))
|
|
1243
|
22973
|
48919
-
48919
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$2
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply$default$2
|
|
1243
|
24845
|
48919
-
48919
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$7
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply$default$7
|
|
1243
|
26890
|
48919
-
48919
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$6
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply$default$6
|
|
1243
|
26426
|
48919
-
48919
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$3
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply$default$3
|
|
1243
|
22284
|
48919
-
48955
|
Apply
|
org.make.core.proposal.SearchQuery.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply(scala.Some.apply[org.make.core.proposal.SearchFilters](filters), org.make.core.proposal.SearchQuery.apply$default$2, org.make.core.proposal.SearchQuery.apply$default$3, org.make.core.proposal.SearchQuery.apply$default$4, org.make.core.proposal.SearchQuery.apply$default$5, org.make.core.proposal.SearchQuery.apply$default$6, org.make.core.proposal.SearchQuery.apply$default$7)
|
|
1243
|
25005
|
48941
-
48954
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.proposal.SearchFilters](filters)
|
|
1243
|
23052
|
48919
-
48919
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$5
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply$default$5
|
|
1243
|
25468
|
48919
-
48919
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$4
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply$default$4
|
|
1244
|
26292
|
48974
-
48974
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1244
|
24922
|
48870
-
49277
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalServiceComponent.this.elasticsearchProposalAPI.countProposals(org.make.core.proposal.SearchQuery.apply(scala.Some.apply[org.make.core.proposal.SearchFilters](filters), org.make.core.proposal.SearchQuery.apply$default$2, org.make.core.proposal.SearchQuery.apply$default$3, org.make.core.proposal.SearchQuery.apply$default$4, org.make.core.proposal.SearchQuery.apply$default$5, org.make.core.proposal.SearchQuery.apply$default$6, org.make.core.proposal.SearchQuery.apply$default$7)).flatMap[org.make.core.proposal.indexed.ProposalsSearchResult](((count: Long) => if (count.==(0))
scala.concurrent.Future.successful[org.make.core.proposal.indexed.ProposalsSearchResult](org.make.core.proposal.indexed.ProposalsSearchResult.apply(0L, scala.`package`.Seq.empty[Nothing]))
else
DefaultProposalServiceComponent.this.elasticsearchProposalAPI.searchProposals({
<artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters](filters);
<artifact> val x$33: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(scala.Predef.long2Long(count).intValue()));
<artifact> val x$34: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$35: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3;
<artifact> val x$36: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5;
<artifact> val x$37: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
<artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$32, x$34, x$35, x$33, x$36, x$37, x$38)
})))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1245
|
27193
|
48999
-
49009
|
Apply
|
scala.Long.==
|
|
count.==(0)
|
|
1246
|
23060
|
49025
-
49080
|
Block
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[org.make.core.proposal.indexed.ProposalsSearchResult](org.make.core.proposal.indexed.ProposalsSearchResult.apply(0L, scala.`package`.Seq.empty[Nothing]))
|
|
1246
|
22979
|
49069
-
49078
|
TypeApply
|
scala.collection.SeqFactory.Delegate.empty
|
|
scala.`package`.Seq.empty[Nothing]
|
|
1246
|
24387
|
49025
-
49080
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[org.make.core.proposal.indexed.ProposalsSearchResult](org.make.core.proposal.indexed.ProposalsSearchResult.apply(0L, scala.`package`.Seq.empty[Nothing]))
|
|
1246
|
26725
|
49043
-
49079
|
Apply
|
org.make.core.proposal.indexed.ProposalsSearchResult.apply
|
|
org.make.core.proposal.indexed.ProposalsSearchResult.apply(0L, scala.`package`.Seq.empty[Nothing])
|
|
1246
|
24936
|
49065
-
49067
|
Literal
|
<nosymbol>
|
|
0L
|
|
1249
|
27312
|
49213
-
49253
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(scala.Predef.long2Long(count).intValue()))
|
|
1249
|
24857
|
49235
-
49251
|
Apply
|
java.lang.Long.intValue
|
|
scala.Predef.long2Long(count).intValue()
|
|
1249
|
27046
|
49190
-
49203
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.proposal.SearchFilters](filters)
|
|
1249
|
24399
|
49168
-
49168
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$6
|
|
org.make.core.proposal.SearchQuery.apply$default$6
|
|
1249
|
24788
|
49112
-
49255
|
Apply
|
org.make.api.proposal.ProposalSearchEngine.searchProposals
|
|
DefaultProposalServiceComponent.this.elasticsearchProposalAPI.searchProposals({
<artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters](filters);
<artifact> val x$33: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(scala.Predef.long2Long(count).intValue()));
<artifact> val x$34: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$35: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3;
<artifact> val x$36: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5;
<artifact> val x$37: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
<artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$32, x$34, x$35, x$33, x$36, x$37, x$38)
})
|
|
1249
|
22437
|
49112
-
49255
|
Block
|
org.make.api.proposal.ProposalSearchEngine.searchProposals
|
|
DefaultProposalServiceComponent.this.elasticsearchProposalAPI.searchProposals({
<artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters](filters);
<artifact> val x$33: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(scala.Predef.long2Long(count).intValue()));
<artifact> val x$34: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$35: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3;
<artifact> val x$36: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5;
<artifact> val x$37: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
<artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$32, x$34, x$35, x$33, x$36, x$37, x$38)
})
|
|
1249
|
23200
|
49168
-
49168
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$7
|
|
org.make.core.proposal.SearchQuery.apply$default$7
|
|
1249
|
24946
|
49168
-
49168
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$2
|
|
org.make.core.proposal.SearchQuery.apply$default$2
|
|
1249
|
22293
|
49218
-
49252
|
Apply
|
org.make.core.technical.Pagination.Limit.apply
|
|
org.make.core.technical.Pagination.Limit.apply(scala.Predef.long2Long(count).intValue())
|
|
1249
|
22912
|
49168
-
49168
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$3
|
|
org.make.core.proposal.SearchQuery.apply$default$3
|
|
1249
|
26737
|
49168
-
49168
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$5
|
|
org.make.core.proposal.SearchQuery.apply$default$5
|
|
1249
|
27054
|
49168
-
49254
|
Apply
|
org.make.core.proposal.SearchQuery.apply
|
|
org.make.core.proposal.SearchQuery.apply(x$32, x$34, x$35, x$33, x$36, x$37, x$38)
|
|
1261
|
22921
|
49510
-
49598
|
Apply
|
org.make.api.technical.crm.QuestionResolver.extractQuestionWithOperationFromRequestContext
|
org.make.api.proposal.proposalservicetest
|
questionResolver.extractQuestionWithOperationFromRequestContext(requestContext)
|
|
1262
|
24321
|
49638
-
49671
|
Apply
|
scala.concurrent.Future.successful
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.Future.successful[Some[org.make.core.question.Question]](scala.Some.apply[org.make.core.question.Question](question))
|
|
1262
|
26751
|
49656
-
49670
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.question.Question](question)
|
|
1266
|
24334
|
49852
-
50244
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalService.this.searchUserProposals(userId).map[Option[org.make.core.question.Question]](((proposalResult: org.make.core.proposal.indexed.ProposalsSearchResult) => proposalResult.results.find(((x$50: org.make.core.proposal.indexed.IndexedProposal) => x$50.createdAt.==(eventDate))).flatMap[org.make.core.proposal.indexed.IndexedProposalQuestion](((x$51: org.make.core.proposal.indexed.IndexedProposal) => x$51.question)).map[org.make.core.question.QuestionId](((x$52: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$52.questionId)).flatMap[org.make.core.question.Question](((questionId: org.make.core.question.QuestionId) => questionResolver.findQuestionWithOperation(((question: org.make.core.question.Question) => questionId.==(question.questionId)))))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1266
|
26528
|
49884
-
49884
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1268
|
23214
|
49959
-
49983
|
Apply
|
java.lang.Object.==
|
|
x$50.createdAt.==(eventDate)
|
|
1269
|
26804
|
50008
-
50018
|
Select
|
org.make.core.proposal.indexed.IndexedProposal.question
|
|
x$51.question
|
|
1270
|
24795
|
50039
-
50051
|
Select
|
org.make.core.proposal.indexed.IndexedProposalQuestion.questionId
|
|
x$52.questionId
|
|
1271
|
22759
|
49916
-
50232
|
Apply
|
scala.Option.flatMap
|
|
proposalResult.results.find(((x$50: org.make.core.proposal.indexed.IndexedProposal) => x$50.createdAt.==(eventDate))).flatMap[org.make.core.proposal.indexed.IndexedProposalQuestion](((x$51: org.make.core.proposal.indexed.IndexedProposal) => x$51.question)).map[org.make.core.question.QuestionId](((x$52: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$52.questionId)).flatMap[org.make.core.question.Question](((questionId: org.make.core.question.QuestionId) => questionResolver.findQuestionWithOperation(((question: org.make.core.question.Question) => questionId.==(question.questionId)))))
|
|
1273
|
26220
|
50182
-
50215
|
Apply
|
java.lang.Object.==
|
|
questionId.==(question.questionId)
|
|
1273
|
22445
|
50196
-
50215
|
Select
|
org.make.core.question.Question.questionId
|
|
question.questionId
|
|
1273
|
24933
|
50108
-
50216
|
Apply
|
org.make.api.technical.crm.QuestionResolver.findQuestionWithOperation
|
|
questionResolver.findQuestionWithOperation(((question: org.make.core.question.Question) => questionId.==(question.questionId)))
|
|
1289
|
23364
|
50678
-
50698
|
Apply
|
org.make.api.technical.MakeRandom.nextInt
|
org.make.api.proposal.proposalservicetest
|
org.make.api.technical.MakeRandom.nextInt()
|
|
1289
|
26814
|
50663
-
50699
|
Apply
|
scala.Option.getOrElse
|
org.make.api.proposal.proposalservicetest
|
seed.getOrElse[Int](org.make.api.technical.MakeRandom.nextInt())
|
|
1291
|
24643
|
50812
-
50828
|
Select
|
org.make.core.technical.Pagination.extractInt
|
org.make.api.proposal.proposalservicetest
|
limit.extractInt
|
|
1291
|
22588
|
50782
-
50829
|
Apply
|
java.lang.Math.min
|
org.make.api.proposal.proposalservicetest
|
java.lang.Math.min(maxPartnerProposals, limit.extractInt)
|
|
1292
|
26234
|
50876
-
50911
|
Select
|
org.make.api.proposal.ProposalsResultSeededResponse.empty
|
org.make.api.proposal.proposalservicetest
|
ProposalsResultSeededResponse.empty
|
|
1292
|
25250
|
50858
-
50912
|
Apply
|
scala.concurrent.Future.successful
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.Future.successful[org.make.api.proposal.ProposalsResultSeededResponse](ProposalsResultSeededResponse.empty)
|
|
1296
|
22688
|
51011
-
51022
|
Select
|
org.make.core.technical.Pagination.Offset.zero
|
org.make.api.proposal.proposalservicetest
|
org.make.core.technical.Pagination.Offset.zero
|
|
1297
|
26729
|
51046
-
51050
|
Select
|
scala.None
|
org.make.api.proposal.proposalservicetest
|
scala.None
|
|
1298
|
24478
|
51075
-
51079
|
Select
|
scala.None
|
org.make.api.proposal.proposalservicetest
|
scala.None
|
|
1299
|
27932
|
51105
-
51109
|
Select
|
scala.None
|
org.make.api.proposal.proposalservicetest
|
scala.None
|
|
1300
|
26826
|
51140
-
51156
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.question.QuestionId](questionId)
|
|
1301
|
24784
|
51191
-
51195
|
Select
|
scala.None
|
org.make.api.proposal.proposalservicetest
|
scala.None
|
|
1302
|
22602
|
51227
-
51231
|
Select
|
scala.None
|
org.make.api.proposal.proposalservicetest
|
scala.None
|
|
1304
|
26012
|
50950
-
52350
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalServiceComponent.this.partnerService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.question.QuestionId](questionId), scala.None, scala.None).flatMap[org.make.api.proposal.ProposalsResultSeededResponse](((partners: Seq[org.make.core.partner.Partner]) => partners.collect[org.make.core.user.UserId](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[org.make.core.partner.Partner,org.make.core.user.UserId] with java.io.Serializable {
def <init>(): <$anon: org.make.core.partner.Partner => org.make.core.user.UserId> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: org.make.core.partner.Partner, B1 >: org.make.core.user.UserId](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[org.make.core.partner.Partner]: org.make.core.partner.Partner): org.make.core.partner.Partner @unchecked) match {
case (partnerId: org.make.core.partner.PartnerId, name: String, logo: Option[String], link: Option[String], organisationId: Option[org.make.core.user.UserId], partnerKind: org.make.core.partner.PartnerKind, questionId: org.make.core.question.QuestionId, weight: Float): org.make.core.partner.Partner(_, _, _, _, (value: org.make.core.user.UserId): Some[org.make.core.user.UserId]((orgaId @ _)), _, _, _) => orgaId
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: org.make.core.partner.Partner): Boolean = ((x1.asInstanceOf[org.make.core.partner.Partner]: org.make.core.partner.Partner): org.make.core.partner.Partner @unchecked) match {
case (partnerId: org.make.core.partner.PartnerId, name: String, logo: Option[String], link: Option[String], organisationId: Option[org.make.core.user.UserId], partnerKind: org.make.core.partner.PartnerKind, questionId: org.make.core.question.QuestionId, weight: Float): org.make.core.partner.Partner(_, _, _, _, (value: org.make.core.user.UserId): Some[org.make.core.user.UserId]((orgaId @ _)), _, _, _) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[org.make.core.partner.Partner,org.make.core.user.UserId])) match {
case scala.`package`.Seq.unapplySeq[org.make.core.user.UserId](<unapply-selector>) <unapply> () => scala.concurrent.Future.successful[org.make.api.proposal.ProposalsResultSeededResponse](ProposalsResultSeededResponse.empty)
case (orgaIds @ _) => DefaultProposalService.this.searchForUser(maybeUserId, {
<artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.QuestionSearchFilter](org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)));
<artifact> val x$2: Some[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.UserSearchFilter](org.make.core.proposal.UserSearchFilter.apply(orgaIds));
<artifact> val x$3: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$4: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$5: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$6: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$7: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$8: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$9: Option[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$8;
<artifact> val x$10: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$11: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$12: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$13: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$14: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$1, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$2, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
});
<artifact> val x$33: Some[org.make.core.proposal.RandomAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.RandomAlgorithm](org.make.core.proposal.RandomAlgorithm.apply(randomSeed));
<artifact> val x$34: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(posInt));
<artifact> val x$35: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$36: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3;
<artifact> val x$37: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5;
<artifact> val x$38: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
org.make.core.proposal.SearchQuery.apply(x$32, x$35, x$36, x$34, x$37, x$38, x$33)
}, requestContext, preferredLanguage, questionDefaultLanguage)
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1304
|
28004
|
51271
-
51271
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1305
|
25260
|
51301
-
51413
|
Apply
|
scala.collection.IterableOps.collect
|
|
partners.collect[org.make.core.user.UserId](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[org.make.core.partner.Partner,org.make.core.user.UserId] with java.io.Serializable {
def <init>(): <$anon: org.make.core.partner.Partner => org.make.core.user.UserId> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: org.make.core.partner.Partner, B1 >: org.make.core.user.UserId](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[org.make.core.partner.Partner]: org.make.core.partner.Partner): org.make.core.partner.Partner @unchecked) match {
case (partnerId: org.make.core.partner.PartnerId, name: String, logo: Option[String], link: Option[String], organisationId: Option[org.make.core.user.UserId], partnerKind: org.make.core.partner.PartnerKind, questionId: org.make.core.question.QuestionId, weight: Float): org.make.core.partner.Partner(_, _, _, _, (value: org.make.core.user.UserId): Some[org.make.core.user.UserId]((orgaId @ _)), _, _, _) => orgaId
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: org.make.core.partner.Partner): Boolean = ((x1.asInstanceOf[org.make.core.partner.Partner]: org.make.core.partner.Partner): org.make.core.partner.Partner @unchecked) match {
case (partnerId: org.make.core.partner.PartnerId, name: String, logo: Option[String], link: Option[String], organisationId: Option[org.make.core.user.UserId], partnerKind: org.make.core.partner.PartnerKind, questionId: org.make.core.question.QuestionId, weight: Float): org.make.core.partner.Partner(_, _, _, _, (value: org.make.core.user.UserId): Some[org.make.core.user.UserId]((orgaId @ _)), _, _, _) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[org.make.core.partner.Partner,org.make.core.user.UserId]))
|
|
1305
|
26205
|
51318
-
51318
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.$anonfun.<init>
|
|
new $anonfun()
|
|
1308
|
26663
|
51454
-
51508
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[org.make.api.proposal.ProposalsResultSeededResponse](ProposalsResultSeededResponse.empty)
|
|
1308
|
22697
|
51472
-
51507
|
Select
|
org.make.api.proposal.ProposalsResultSeededResponse.empty
|
|
ProposalsResultSeededResponse.empty
|
|
1310
|
24417
|
51563
-
52316
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.searchForUser
|
|
DefaultProposalService.this.searchForUser(maybeUserId, {
<artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.QuestionSearchFilter](org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)));
<artifact> val x$2: Some[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.UserSearchFilter](org.make.core.proposal.UserSearchFilter.apply(orgaIds));
<artifact> val x$3: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$4: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$5: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$6: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$7: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$8: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$9: Option[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$8;
<artifact> val x$10: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$11: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$12: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$13: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$14: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$1, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$2, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
});
<artifact> val x$33: Some[org.make.core.proposal.RandomAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.RandomAlgorithm](org.make.core.proposal.RandomAlgorithm.apply(randomSeed));
<artifact> val x$34: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(posInt));
<artifact> val x$35: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$36: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3;
<artifact> val x$37: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5;
<artifact> val x$38: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
org.make.core.proposal.SearchQuery.apply(x$32, x$35, x$36, x$34, x$37, x$38, x$33)
}, requestContext, preferredLanguage, questionDefaultLanguage)
|
|
1312
|
24128
|
51643
-
51643
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$5
|
|
org.make.core.proposal.SearchQuery.apply$default$5
|
|
1312
|
26598
|
51643
-
52105
|
Apply
|
org.make.core.proposal.SearchQuery.apply
|
|
org.make.core.proposal.SearchQuery.apply(x$32, x$35, x$36, x$34, x$37, x$38, x$33)
|
|
1312
|
22530
|
51643
-
51643
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$2
|
|
org.make.core.proposal.SearchQuery.apply$default$2
|
|
1312
|
22929
|
51643
-
51643
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$6
|
|
org.make.core.proposal.SearchQuery.apply$default$6
|
|
1312
|
26305
|
51643
-
51643
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$3
|
|
org.make.core.proposal.SearchQuery.apply$default$3
|
|
1313
|
26460
|
51690
-
51942
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.QuestionSearchFilter](org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)));
<artifact> val x$2: Some[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.UserSearchFilter](org.make.core.proposal.UserSearchFilter.apply(orgaIds));
<artifact> val x$3: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$4: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$5: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$6: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$7: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$8: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$9: Option[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$8;
<artifact> val x$10: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$11: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$12: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$13: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$14: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$1, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$2, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
})
|
|
1314
|
25097
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$2
|
|
org.make.core.proposal.SearchFilters.apply$default$2
|
|
1314
|
22854
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$3
|
|
org.make.core.proposal.SearchFilters.apply$default$3
|
|
1314
|
23978
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$12
|
|
org.make.core.proposal.SearchFilters.apply$default$12
|
|
1314
|
27112
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$18
|
|
org.make.core.proposal.SearchFilters.apply$default$18
|
|
1314
|
22985
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$23
|
|
org.make.core.proposal.SearchFilters.apply$default$23
|
|
1314
|
26164
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$30
|
|
org.make.core.proposal.SearchFilters.apply$default$30
|
|
1314
|
22524
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$29
|
|
org.make.core.proposal.SearchFilters.apply$default$29
|
|
1314
|
26672
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$4
|
|
org.make.core.proposal.SearchFilters.apply$default$4
|
|
1314
|
28083
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$7
|
|
org.make.core.proposal.SearchFilters.apply$default$7
|
|
1314
|
26603
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$15
|
|
org.make.core.proposal.SearchFilters.apply$default$15
|
|
1314
|
24264
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$16
|
|
org.make.core.proposal.SearchFilters.apply$default$16
|
|
1314
|
24868
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$28
|
|
org.make.core.proposal.SearchFilters.apply$default$28
|
|
1314
|
24727
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$9
|
|
org.make.core.proposal.SearchFilters.apply$default$9
|
|
1314
|
24413
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$5
|
|
org.make.core.proposal.SearchFilters.apply$default$5
|
|
1314
|
24120
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$31
|
|
org.make.core.proposal.SearchFilters.apply$default$31
|
|
1314
|
22460
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$20
|
|
org.make.core.proposal.SearchFilters.apply$default$20
|
|
1314
|
25708
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$27
|
|
org.make.core.proposal.SearchFilters.apply$default$27
|
|
1314
|
26976
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$8
|
|
org.make.core.proposal.SearchFilters.apply$default$8
|
|
1314
|
23988
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$22
|
|
org.make.core.proposal.SearchFilters.apply$default$22
|
|
1314
|
22535
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$10
|
|
org.make.core.proposal.SearchFilters.apply$default$10
|
|
1314
|
26153
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$21
|
|
org.make.core.proposal.SearchFilters.apply$default$21
|
|
1314
|
24565
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$19
|
|
org.make.core.proposal.SearchFilters.apply$default$19
|
|
1314
|
24269
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$25
|
|
org.make.core.proposal.SearchFilters.apply$default$25
|
|
1314
|
26449
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$24
|
|
org.make.core.proposal.SearchFilters.apply$default$24
|
|
1314
|
26216
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$1
|
|
org.make.core.proposal.SearchFilters.apply$default$1
|
|
1314
|
22684
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$13
|
|
org.make.core.proposal.SearchFilters.apply$default$13
|
|
1314
|
26228
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$11
|
|
org.make.core.proposal.SearchFilters.apply$default$11
|
|
1314
|
28094
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$17
|
|
org.make.core.proposal.SearchFilters.apply$default$17
|
|
1314
|
22998
|
51722
-
51916
|
Apply
|
org.make.core.proposal.SearchFilters.apply
|
|
org.make.core.proposal.SearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$1, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$2, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
|
|
1314
|
28019
|
51722
-
51722
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$26
|
|
org.make.core.proposal.SearchFilters.apply$default$26
|
|
1315
|
27127
|
51776
-
51819
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.proposal.QuestionSearchFilter](org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)))
|
|
1315
|
24488
|
51802
-
51817
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)
|
|
1315
|
28154
|
51781
-
51818
|
Apply
|
org.make.core.proposal.QuestionSearchFilter.apply
|
|
org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId))
|
|
1316
|
24791
|
51862
-
51887
|
Apply
|
org.make.core.proposal.UserSearchFilter.apply
|
|
org.make.core.proposal.UserSearchFilter.apply(orgaIds)
|
|
1316
|
22528
|
51857
-
51888
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.proposal.UserSearchFilter](org.make.core.proposal.UserSearchFilter.apply(orgaIds))
|
|
1319
|
28030
|
51984
-
52017
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.proposal.RandomAlgorithm](org.make.core.proposal.RandomAlgorithm.apply(randomSeed))
|
|
1319
|
24407
|
51989
-
52016
|
Apply
|
org.make.core.proposal.RandomAlgorithm.apply
|
|
org.make.core.proposal.RandomAlgorithm.apply(randomSeed)
|
|
1320
|
24878
|
52051
-
52081
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(posInt))
|
|
1320
|
26001
|
52056
-
52080
|
Apply
|
org.make.core.technical.Pagination.Limit.apply
|
|
org.make.core.technical.Pagination.Limit.apply(posInt)
|
|
1332
|
23669
|
52477
-
52884
|
Apply
|
org.make.api.proposal.ProposalSearchEngine.getFeaturedProposals
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalServiceComponent.this.elasticsearchProposalAPI.getFeaturedProposals({
<artifact> val x$70: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$39: Some[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.QuestionSearchFilter](org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)));
<artifact> val x$40: Some[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.UserTypesSearchFilter](org.make.core.proposal.UserTypesSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.user.UserType.UserTypeUser.type](org.make.core.user.UserType.UserTypeUser)));
<artifact> val x$41: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$42: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$43: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$44: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$45: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$46: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$47: Option[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$8;
<artifact> val x$48: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$49: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$50: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$51: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$52: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$53: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14;
<artifact> val x$54: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$55: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$56: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$57: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$58: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$59: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$60: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$61: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$62: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$63: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$64: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$65: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$66: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$67: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$68: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$69: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$41, x$42, x$43, x$44, x$45, x$39, x$46, x$47, x$48, x$49, x$50, x$51, x$52, x$53, x$54, x$55, x$56, x$57, x$58, x$59, x$60, x$61, x$62, x$63, x$40, x$64, x$65, x$66, x$67, x$68, x$69)
});
<artifact> val x$71: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](limit);
<artifact> val x$72: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$73: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3;
<artifact> val x$74: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5;
<artifact> val x$75: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
<artifact> val x$76: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$70, x$72, x$73, x$71, x$74, x$75, x$76)
})
|
|
1333
|
24352
|
52538
-
52538
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$6
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply$default$6
|
|
1333
|
28105
|
52538
-
52538
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$7
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply$default$7
|
|
1333
|
27796
|
52538
-
52538
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$3
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply$default$3
|
|
1333
|
23854
|
52538
-
52538
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$2
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply$default$2
|
|
1333
|
25950
|
52538
-
52870
|
Apply
|
org.make.core.proposal.SearchQuery.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply(x$70, x$72, x$73, x$71, x$74, x$75, x$76)
|
|
1333
|
25639
|
52538
-
52538
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$5
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply$default$5
|
|
1334
|
22547
|
52577
-
52817
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$39: Some[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.QuestionSearchFilter](org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)));
<artifact> val x$40: Some[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.UserTypesSearchFilter](org.make.core.proposal.UserTypesSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.user.UserType.UserTypeUser.type](org.make.core.user.UserType.UserTypeUser)));
<artifact> val x$41: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$42: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$43: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$44: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$45: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$46: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$47: Option[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$8;
<artifact> val x$48: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$49: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$50: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$51: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$52: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$53: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14;
<artifact> val x$54: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$55: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$56: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$57: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$58: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$59: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$60: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$61: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$62: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$63: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$64: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$65: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$66: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$67: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$68: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$69: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$41, x$42, x$43, x$44, x$45, x$39, x$46, x$47, x$48, x$49, x$50, x$51, x$52, x$53, x$54, x$55, x$56, x$57, x$58, x$59, x$60, x$61, x$62, x$63, x$40, x$64, x$65, x$66, x$67, x$68, x$69)
})
|
|
1335
|
27950
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$20
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$20
|
|
1335
|
26544
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$9
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$9
|
|
1335
|
25943
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$31
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$31
|
|
1335
|
27713
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$8
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$8
|
|
1335
|
24340
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$29
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$29
|
|
1335
|
26089
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$15
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$15
|
|
1335
|
26756
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$18
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$18
|
|
1335
|
23921
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$16
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$16
|
|
1335
|
25796
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$12
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$12
|
|
1335
|
22623
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$23
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$23
|
|
1335
|
25808
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$21
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$21
|
|
1335
|
28015
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$1
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$1
|
|
1335
|
23735
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$22
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$22
|
|
1335
|
27943
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$11
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$11
|
|
1335
|
27856
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$17
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$17
|
|
1335
|
26247
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$5
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$5
|
|
1335
|
24668
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$3
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$3
|
|
1335
|
22398
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$14
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$14
|
|
1335
|
23908
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$7
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$7
|
|
1335
|
25786
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$2
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$2
|
|
1335
|
26399
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$24
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$24
|
|
1335
|
27960
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$30
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$30
|
|
1335
|
24356
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$10
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$10
|
|
1335
|
23749
|
52601
-
52799
|
Apply
|
org.make.core.proposal.SearchFilters.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply(x$41, x$42, x$43, x$44, x$45, x$39, x$46, x$47, x$48, x$49, x$50, x$51, x$52, x$53, x$54, x$55, x$56, x$57, x$58, x$59, x$60, x$61, x$62, x$63, x$40, x$64, x$65, x$66, x$67, x$68, x$69)
|
|
1335
|
24281
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$19
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$19
|
|
1335
|
24876
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$13
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$13
|
|
1335
|
23844
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$26
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$26
|
|
1335
|
26682
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$28
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$28
|
|
1335
|
27866
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$27
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$27
|
|
1335
|
22465
|
52601
-
52601
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$4
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$4
|
|
1336
|
22453
|
52652
-
52689
|
Apply
|
org.make.core.proposal.QuestionSearchFilter.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId))
|
|
1336
|
26316
|
52647
-
52690
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.proposal.QuestionSearchFilter](org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)))
|
|
1336
|
24891
|
52673
-
52688
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
org.make.api.proposal.proposalservicetest
|
scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)
|
|
1337
|
26607
|
52729
-
52778
|
Apply
|
org.make.core.proposal.UserTypesSearchFilter.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.UserTypesSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.user.UserType.UserTypeUser.type](org.make.core.user.UserType.UserTypeUser))
|
|
1337
|
27872
|
52751
-
52777
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
org.make.api.proposal.proposalservicetest
|
scala.`package`.Seq.apply[org.make.core.user.UserType.UserTypeUser.type](org.make.core.user.UserType.UserTypeUser)
|
|
1337
|
23896
|
52755
-
52776
|
Select
|
org.make.core.user.UserType.UserTypeUser
|
org.make.api.proposal.proposalservicetest
|
org.make.core.user.UserType.UserTypeUser
|
|
1337
|
24347
|
52724
-
52779
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.proposal.UserTypesSearchFilter](org.make.core.proposal.UserTypesSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.user.UserType.UserTypeUser.type](org.make.core.user.UserType.UserTypeUser)))
|
|
1340
|
26239
|
52843
-
52854
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.technical.Pagination.Limit](limit)
|
|
1347
|
24277
|
52442
-
53073
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalService.this.enrich(((x$53: org.make.core.RequestContext) => DefaultProposalServiceComponent.this.elasticsearchProposalAPI.getFeaturedProposals({
<artifact> val x$70: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$39: Some[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.QuestionSearchFilter](org.make.core.proposal.QuestionSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)));
<artifact> val x$40: Some[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.UserTypesSearchFilter](org.make.core.proposal.UserTypesSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.user.UserType.UserTypeUser.type](org.make.core.user.UserType.UserTypeUser)));
<artifact> val x$41: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$42: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$43: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$44: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$45: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$46: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$47: Option[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$8;
<artifact> val x$48: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$49: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$50: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$51: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$52: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$53: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14;
<artifact> val x$54: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$55: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$56: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$57: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$58: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$59: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$60: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$61: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$62: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$63: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$64: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$65: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$66: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$67: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$68: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$69: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$41, x$42, x$43, x$44, x$45, x$39, x$46, x$47, x$48, x$49, x$50, x$51, x$52, x$53, x$54, x$55, x$56, x$57, x$58, x$59, x$60, x$61, x$62, x$63, x$40, x$64, x$65, x$66, x$67, x$68, x$69)
});
<artifact> val x$71: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](limit);
<artifact> val x$72: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$73: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3;
<artifact> val x$74: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5;
<artifact> val x$75: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
<artifact> val x$76: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$70, x$72, x$73, x$71, x$74, x$75, x$76)
})), maybeUserId, requestContext, preferredLanguage, questionDefaultLanguage).map[org.make.api.proposal.ProposalsResultSeededResponse](((r: org.make.api.proposal.ProposalsResultResponse) => ProposalsResultSeededResponse.apply(r.total, r.results, scala.None)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1347
|
26250
|
53056
-
53065
|
Select
|
org.make.api.proposal.ProposalsResultResponse.results
|
|
r.results
|
|
1347
|
23828
|
53067
-
53071
|
Select
|
scala.None
|
|
scala.None
|
|
1347
|
25556
|
53011
-
53011
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1347
|
22392
|
53047
-
53054
|
Select
|
org.make.api.proposal.ProposalsResultResponse.total
|
|
r.total
|
|
1347
|
27804
|
53017
-
53072
|
Apply
|
org.make.api.proposal.ProposalsResultSeededResponse.apply
|
|
ProposalsResultSeededResponse.apply(r.total, r.results, scala.None)
|
|
1350
|
25725
|
53119
-
53119
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1350
|
23445
|
53088
-
53420
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.proposal.proposalservicetest
|
futurePartnerProposals.flatMap[org.make.api.proposal.ProposalsResultSeededResponse](((partnerProposals: org.make.api.proposal.ProposalsResultSeededResponse) => futureProposalsRest.map[org.make.api.proposal.ProposalsResultSeededResponse](((rest: org.make.api.proposal.ProposalsResultSeededResponse) => ProposalsResultSeededResponse.apply(partnerProposals.total.+(rest.total), partnerProposals.results.++[org.make.api.proposal.ProposalResponse](rest.results.take(limit.extractInt.-(partnerProposals.results.size))), scala.Some.apply[Int](randomSeed))))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1351
|
28255
|
53153
-
53420
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
futureProposalsRest.map[org.make.api.proposal.ProposalsResultSeededResponse](((rest: org.make.api.proposal.ProposalsResultSeededResponse) => ProposalsResultSeededResponse.apply(partnerProposals.total.+(rest.total), partnerProposals.results.++[org.make.api.proposal.ProposalResponse](rest.results.take(limit.extractInt.-(partnerProposals.results.size))), scala.Some.apply[Int](randomSeed))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1351
|
24288
|
53170
-
53170
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1352
|
25406
|
53207
-
53420
|
Apply
|
org.make.api.proposal.ProposalsResultSeededResponse.apply
|
|
ProposalsResultSeededResponse.apply(partnerProposals.total.+(rest.total), partnerProposals.results.++[org.make.api.proposal.ProposalResponse](rest.results.take(limit.extractInt.-(partnerProposals.results.size))), scala.Some.apply[Int](randomSeed))
|
|
1353
|
25716
|
53246
-
53281
|
Apply
|
scala.Long.+
|
|
partnerProposals.total.+(rest.total)
|
|
1353
|
28112
|
53271
-
53281
|
Select
|
org.make.api.proposal.ProposalsResultSeededResponse.total
|
|
rest.total
|
|
1354
|
22402
|
53337
-
53385
|
Apply
|
scala.Int.-
|
|
limit.extractInt.-(partnerProposals.results.size)
|
|
1354
|
23681
|
53356
-
53385
|
Select
|
scala.collection.SeqOps.size
|
|
partnerProposals.results.size
|
|
1354
|
26175
|
53319
-
53386
|
Apply
|
scala.collection.IterableOps.take
|
|
rest.results.take(limit.extractInt.-(partnerProposals.results.size))
|
|
1354
|
23839
|
53291
-
53386
|
Apply
|
scala.collection.IterableOps.++
|
|
partnerProposals.results.++[org.make.api.proposal.ProposalResponse](rest.results.take(limit.extractInt.-(partnerProposals.results.size)))
|
|
1355
|
27575
|
53396
-
53412
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](randomSeed)
|
|
1365
|
23665
|
53621
-
54080
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.setKeywords(proposalId, keywords, requestContext).map[org.make.api.proposal.ProposalKeywordsResponse](((x0$1: Option[org.make.core.proposal.Proposal]) => x0$1 match {
case (value: org.make.core.proposal.Proposal): Some[org.make.core.proposal.Proposal]((proposal @ _)) => ProposalKeywordsResponse.apply(proposal.proposalId, ProposalKeywordsResponseStatus.Ok, scala.None)
case scala.None => ProposalKeywordsResponse.apply(proposalId, ProposalKeywordsResponseStatus.Error, scala.Some.apply[String](("Proposal ".+(proposalId.value).+(" not found"): String)))
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1365
|
26024
|
53702
-
53702
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1367
|
24137
|
53845
-
53849
|
Select
|
scala.None
|
|
scala.None
|
|
1367
|
27585
|
53745
-
53850
|
Apply
|
org.make.api.proposal.ProposalKeywordsResponse.apply
|
|
ProposalKeywordsResponse.apply(proposal.proposalId, ProposalKeywordsResponseStatus.Ok, scala.None)
|
|
1367
|
26185
|
53800
-
53833
|
Select
|
org.make.api.proposal.ProposalKeywordsResponseStatus.Ok
|
|
ProposalKeywordsResponseStatus.Ok
|
|
1367
|
27278
|
53770
-
53789
|
Select
|
org.make.core.proposal.Proposal.proposalId
|
|
proposal.proposalId
|
|
1369
|
27890
|
53882
-
54072
|
Apply
|
org.make.api.proposal.ProposalKeywordsResponse.apply
|
|
ProposalKeywordsResponse.apply(proposalId, ProposalKeywordsResponseStatus.Error, scala.Some.apply[String](("Proposal ".+(proposalId.value).+(" not found"): String)))
|
|
1371
|
25632
|
53953
-
53989
|
Select
|
org.make.api.proposal.ProposalKeywordsResponseStatus.Error
|
|
ProposalKeywordsResponseStatus.Error
|
|
1372
|
24223
|
54013
-
54060
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("Proposal ".+(proposalId.value).+(" not found"): String))
|
|
1382
|
27495
|
54314
-
54315
|
Literal
|
<nosymbol>
|
org.make.api.proposal.proposalservicetest
|
3
|
|
1383
|
26115
|
54369
-
54396
|
Select
|
org.make.api.proposal.ProposalKeywordRequest.proposalId
|
|
proposalKeywords.proposalId
|
|
1383
|
23773
|
54398
-
54423
|
Select
|
org.make.api.proposal.ProposalKeywordRequest.keywords
|
|
proposalKeywords.keywords
|
|
1383
|
27594
|
54349
-
54440
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.setProposalKeywords
|
|
DefaultProposalService.this.setProposalKeywords(proposalKeywords.proposalId, proposalKeywords.keywords, requestContext)
|
|
1385
|
24444
|
54467
-
54467
|
Select
|
org.make.api.technical.ActorSystemComponent.actorSystem
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalServiceComponent.this.actorSystem
|
|
1385
|
25658
|
54267
-
54477
|
ApplyToImplicitArgs
|
akka.stream.scaladsl.Source.runWith
|
org.make.api.proposal.proposalservicetest
|
akka.stream.scaladsl.Source.apply[org.make.api.proposal.ProposalKeywordRequest](proposalKeywordsList).mapAsync[org.make.api.proposal.ProposalKeywordsResponse](3)(((proposalKeywords: org.make.api.proposal.ProposalKeywordRequest) => DefaultProposalService.this.setProposalKeywords(proposalKeywords.proposalId, proposalKeywords.keywords, requestContext))).runWith[scala.concurrent.Future[Seq[org.make.api.proposal.ProposalKeywordsResponse]]](akka.stream.scaladsl.Sink.seq[org.make.api.proposal.ProposalKeywordsResponse])(stream.this.Materializer.matFromSystem(DefaultProposalServiceComponent.this.actorSystem))
|
|
1385
|
25553
|
54468
-
54476
|
TypeApply
|
akka.stream.scaladsl.Sink.seq
|
org.make.api.proposal.proposalservicetest
|
akka.stream.scaladsl.Sink.seq[org.make.api.proposal.ProposalKeywordsResponse]
|
|
1385
|
28198
|
54467
-
54467
|
ApplyToImplicitArgs
|
akka.stream.Materializer.matFromSystem
|
org.make.api.proposal.proposalservicetest
|
stream.this.Materializer.matFromSystem(DefaultProposalServiceComponent.this.actorSystem)
|
|
1393
|
23675
|
54666
-
54705
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.refuseAction
|
|
DefaultProposalService.this.refuseAction(moderator, requestContext)(proposal, question)
|
|
1393
|
27428
|
54655
-
54719
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.bulkAction
|
|
DefaultProposalService.this.bulkAction(((proposal: org.make.core.proposal.indexed.IndexedProposal, question: org.make.core.question.Question) => DefaultProposalService.this.refuseAction(moderator, requestContext)(proposal, question)), proposalIds)
|
|
1402
|
26170
|
54937
-
55021
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.updateTagsAction
|
|
DefaultProposalService.this.updateTagsAction(moderator, requestContext, eta$0$1)(proposal, question)
|
|
1402
|
24085
|
54926
-
55035
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.bulkAction
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalService.this.bulkAction({
<synthetic> val eta$0$1: Seq[org.make.core.tag.TagId] => Seq[org.make.core.tag.TagId] = ((current: Seq[org.make.core.tag.TagId]) => current.++[org.make.core.tag.TagId](tagIds).distinct);
((proposal: org.make.core.proposal.indexed.IndexedProposal, question: org.make.core.question.Question) => DefaultProposalService.this.updateTagsAction(moderator, requestContext, eta$0$1)(proposal, question))
}, proposalIds)
|
|
1411
|
27740
|
55251
-
55319
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.updateTagsAction
|
|
DefaultProposalService.this.updateTagsAction(moderator, requestContext, eta$0$1)(proposal, question)
|
|
1411
|
25565
|
55240
-
55333
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.bulkAction
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalService.this.bulkAction({
<synthetic> val eta$0$1: Seq[org.make.core.tag.TagId] => Seq[org.make.core.tag.TagId] = ((x$54: Seq[org.make.core.tag.TagId]) => x$54.filterNot(((x$55: org.make.core.tag.TagId) => x$55.==(tagId))));
((proposal: org.make.core.proposal.indexed.IndexedProposal, question: org.make.core.question.Question) => DefaultProposalService.this.updateTagsAction(moderator, requestContext, eta$0$1)(proposal, question))
}, proposalIds)
|
|
1418
|
23312
|
55524
-
55548
|
Select
|
org.make.core.proposal.indexed.IndexedProposal.initialProposal
|
|
proposal.initialProposal
|
|
1419
|
28037
|
55560
-
55586
|
Select
|
org.make.api.proposal.ProposalCoordinatorServiceComponent.proposalCoordinatorService
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService
|
|
1420
|
26097
|
55560
-
55820
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.refuse
|
|
qual$1.refuse(x$2, x$1, x$3, false, x$5)
|
|
1420
|
23934
|
55560
-
55820
|
Block
|
<nosymbol>
|
|
{
<artifact> val qual$1: org.make.api.proposal.ProposalCoordinatorService = DefaultProposalServiceComponent.this.proposalCoordinatorService;
<artifact> val x$1: org.make.core.proposal.ProposalId = proposal.id;
<artifact> val x$2: org.make.core.user.UserId = moderator;
<artifact> val x$3: org.make.core.RequestContext = requestContext;
<artifact> val x$4: Boolean(false) = false;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("other");
qual$1.refuse(x$2, x$1, x$3, false, x$5)
}
|
|
1421
|
25669
|
55631
-
55642
|
Select
|
org.make.core.proposal.indexed.IndexedProposal.id
|
|
proposal.id
|
|
1424
|
23604
|
55760
-
55765
|
Literal
|
<nosymbol>
|
|
false
|
|
1425
|
27442
|
55795
-
55808
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String]("other")
|
|
1428
|
27363
|
55844
-
56033
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("initial", "not-initial", scala.Some.apply[String]("The proposal is not initial")))))
|
|
1428
|
25042
|
55844
-
56033
|
Block
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("initial", "not-initial", scala.Some.apply[String]("The proposal is not initial")))))
|
|
1429
|
23612
|
55869
-
56023
|
Apply
|
org.make.core.ValidationFailedError.apply
|
|
org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("initial", "not-initial", scala.Some.apply[String]("The proposal is not initial"))))
|
|
1430
|
28051
|
55908
-
56010
|
Apply
|
org.make.core.ValidationError.apply
|
|
org.make.core.ValidationError.apply("initial", "not-initial", scala.Some.apply[String]("The proposal is not initial"))
|
|
1430
|
26017
|
55904
-
56011
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("initial", "not-initial", scala.Some.apply[String]("The proposal is not initial")))
|
|
1430
|
27745
|
55932
-
55941
|
Literal
|
<nosymbol>
|
|
"initial"
|
|
1430
|
23154
|
55974
-
56009
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String]("The proposal is not initial")
|
|
1430
|
25489
|
55949
-
55962
|
Literal
|
<nosymbol>
|
|
"not-initial"
|
|
1441
|
27220
|
56273
-
56631
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.update
|
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.update(moderator, proposal.id, requestContext, org.make.core.DateHelper.now(), scala.None, scala.None, transformTags.apply(proposal.tags.map[org.make.core.tag.TagId](((x$56: org.make.core.proposal.indexed.IndexedTag) => x$56.tagId))), question)
|
|
1443
|
23946
|
56373
-
56384
|
Select
|
org.make.core.proposal.indexed.IndexedProposal.id
|
|
proposal.id
|
|
1445
|
27878
|
56451
-
56467
|
Apply
|
org.make.core.DefaultDateHelper.now
|
|
org.make.core.DateHelper.now()
|
|
1446
|
25501
|
56492
-
56496
|
Select
|
scala.None
|
|
scala.None
|
|
1447
|
23081
|
56526
-
56530
|
Select
|
scala.None
|
|
scala.None
|
|
1448
|
25654
|
56563
-
56589
|
Apply
|
scala.collection.IterableOps.map
|
|
proposal.tags.map[org.make.core.tag.TagId](((x$56: org.make.core.proposal.indexed.IndexedTag) => x$56.tagId))
|
|
1448
|
23761
|
56549
-
56590
|
Apply
|
scala.Function1.apply
|
|
transformTags.apply(proposal.tags.map[org.make.core.tag.TagId](((x$56: org.make.core.proposal.indexed.IndexedTag) => x$56.tagId)))
|
|
1448
|
27971
|
56581
-
56588
|
Select
|
org.make.core.proposal.indexed.IndexedTag.tagId
|
|
x$56.tagId
|
|
1459
|
26861
|
56967
-
56967
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$5
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply$default$5
|
|
1459
|
23179
|
56967
-
56967
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$3
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply$default$3
|
|
1459
|
25670
|
56967
-
56967
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$6
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply$default$6
|
|
1459
|
25433
|
56967
-
56967
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$2
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply$default$2
|
|
1459
|
27302
|
56967
-
57301
|
Apply
|
org.make.core.proposal.SearchQuery.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply(x$32, x$34, x$35, x$33, x$36, x$37, x$38)
|
|
1459
|
23686
|
56967
-
56967
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$7
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchQuery.apply$default$7
|
|
1460
|
27296
|
57004
-
57219
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.ProposalSearchFilter](org.make.core.proposal.ProposalSearchFilter.apply(proposalIds));
<artifact> val x$2: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values));
<artifact> val x$3: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$4: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$5: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$6: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$7: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6;
<artifact> val x$8: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$9: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$10: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$11: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$12: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$13: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$14: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14;
<artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$2, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
})
|
|
1461
|
25958
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$3
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$3
|
|
1461
|
23395
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$4
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$4
|
|
1461
|
27755
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$27
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$27
|
|
1461
|
23694
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$14
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$14
|
|
1461
|
27348
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$5
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$5
|
|
1461
|
25204
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$16
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$16
|
|
1461
|
26920
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$21
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$21
|
|
1461
|
25494
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$19
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$19
|
|
1461
|
25909
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$22
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$22
|
|
1461
|
25425
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$28
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$28
|
|
1461
|
25748
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$31
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$31
|
|
1461
|
27814
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$9
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$9
|
|
1461
|
26863
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$12
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$12
|
|
1461
|
24031
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$17
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$17
|
|
1461
|
23259
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$29
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$29
|
|
1461
|
26848
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$30
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$30
|
|
1461
|
25484
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$10
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$10
|
|
1461
|
27371
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$24
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$24
|
|
1461
|
24090
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$7
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$7
|
|
1461
|
27984
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$2
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$2
|
|
1461
|
23860
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$26
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$26
|
|
1461
|
27359
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$15
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$15
|
|
1461
|
25971
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$13
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$13
|
|
1461
|
24978
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$6
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$6
|
|
1461
|
23318
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$11
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$11
|
|
1461
|
27825
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$18
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$18
|
|
1461
|
23557
|
57026
-
57203
|
Apply
|
org.make.core.proposal.SearchFilters.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply(x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$2, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
|
|
1461
|
23548
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$23
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$23
|
|
1461
|
23246
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$20
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$20
|
|
1461
|
25130
|
57026
-
57026
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$25
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.SearchFilters.apply$default$25
|
|
1462
|
25051
|
57075
-
57108
|
Apply
|
org.make.core.proposal.ProposalSearchFilter.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.ProposalSearchFilter.apply(proposalIds)
|
|
1462
|
24081
|
57070
-
57109
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.proposal.ProposalSearchFilter](org.make.core.proposal.ProposalSearchFilter.apply(proposalIds))
|
|
1463
|
25645
|
57143
-
57184
|
Apply
|
org.make.core.proposal.StatusSearchFilter.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values)
|
|
1463
|
27517
|
57162
-
57183
|
Select
|
org.make.core.proposal.ProposalStatus.values
|
org.make.api.proposal.proposalservicetest
|
org.make.core.proposal.ProposalStatus.values
|
|
1463
|
23093
|
57138
-
57185
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values))
|
|
1466
|
24976
|
57265
-
57285
|
Apply
|
scala.Int.+
|
org.make.api.proposal.proposalservicetest
|
proposalIds.size.+(1)
|
|
1466
|
27810
|
57243
-
57287
|
Apply
|
scala.Some.apply
|
org.make.api.proposal.proposalservicetest
|
scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(proposalIds.size.+(1)))
|
|
1466
|
22717
|
57248
-
57286
|
Apply
|
org.make.core.technical.Pagination.Limit.apply
|
org.make.api.proposal.proposalservicetest
|
org.make.core.technical.Pagination.Limit.apply(proposalIds.size.+(1))
|
|
1469
|
27453
|
56902
-
57397
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalServiceComponent.this.elasticsearchProposalAPI.searchProposals({
<artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.ProposalSearchFilter](org.make.core.proposal.ProposalSearchFilter.apply(proposalIds));
<artifact> val x$2: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values));
<artifact> val x$3: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$4: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$5: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$6: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$7: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6;
<artifact> val x$8: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$9: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$10: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$11: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$12: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$13: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$14: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14;
<artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$2, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
});
<artifact> val x$33: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(proposalIds.size.+(1)));
<artifact> val x$34: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$35: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3;
<artifact> val x$36: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5;
<artifact> val x$37: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
<artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$32, x$34, x$35, x$33, x$36, x$37, x$38)
}).map[scala.collection.immutable.Map[org.make.core.proposal.ProposalId,(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])]](((x$57: org.make.core.proposal.indexed.ProposalsSearchResult) => x$57.results.map[(org.make.core.proposal.ProposalId, (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId]))](((p: org.make.core.proposal.indexed.IndexedProposal) => scala.Tuple2.apply[org.make.core.proposal.ProposalId, (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])](p.id, scala.Tuple2.apply[org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId]](p, p.question.map[org.make.core.question.QuestionId](((x$58: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$58.questionId)))))).toMap[org.make.core.proposal.ProposalId, (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])](scala.this.<:<.refl[(org.make.core.proposal.ProposalId, (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId]))])))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1469
|
27820
|
57359
-
57387
|
Apply
|
scala.Option.map
|
|
p.question.map[org.make.core.question.QuestionId](((x$58: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$58.questionId))
|
|
1469
|
22733
|
57374
-
57386
|
Select
|
org.make.core.proposal.indexed.IndexedProposalQuestion.questionId
|
|
x$58.questionId
|
|
1469
|
23699
|
57328
-
57328
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1469
|
23035
|
57348
-
57389
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[org.make.core.proposal.ProposalId, (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])](p.id, scala.Tuple2.apply[org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId]](p, p.question.map[org.make.core.question.QuestionId](((x$58: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$58.questionId))))
|
|
1469
|
24910
|
57349
-
57353
|
Select
|
org.make.core.proposal.indexed.IndexedProposal.id
|
|
p.id
|
|
1469
|
26788
|
57391
-
57391
|
TypeApply
|
scala.<:<.refl
|
|
scala.this.<:<.refl[(org.make.core.proposal.ProposalId, (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId]))]
|
|
1469
|
25579
|
57355
-
57388
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId]](p, p.question.map[org.make.core.question.QuestionId](((x$58: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$58.questionId)))
|
|
1469
|
24825
|
57329
-
57396
|
ApplyToImplicitArgs
|
scala.collection.IterableOnceOps.toMap
|
|
x$57.results.map[(org.make.core.proposal.ProposalId, (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId]))](((p: org.make.core.proposal.indexed.IndexedProposal) => scala.Tuple2.apply[org.make.core.proposal.ProposalId, (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])](p.id, scala.Tuple2.apply[org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId]](p, p.question.map[org.make.core.question.QuestionId](((x$58: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$58.questionId)))))).toMap[org.make.core.proposal.ProposalId, (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])](scala.this.<:<.refl[(org.make.core.proposal.ProposalId, (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId]))])
|
|
1472
|
22742
|
57553
-
57623
|
Select
|
scala.collection.SeqOps.distinct
|
|
proposalMap.values.collect[org.make.core.question.QuestionId](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId]),org.make.core.question.QuestionId] with java.io.Serializable {
def <init>(): <$anon: ((org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])) => org.make.core.question.QuestionId> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId]), B1 >: org.make.core.question.QuestionId](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])]: (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])): (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId]) @unchecked) match {
case (_1: org.make.core.proposal.indexed.IndexedProposal, _2: Option[org.make.core.question.QuestionId]): (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])(_, (value: org.make.core.question.QuestionId): Some[org.make.core.question.QuestionId]((id @ _))) => id
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])): Boolean = ((x1.asInstanceOf[(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])]: (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])): (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId]) @unchecked) match {
case (_1: org.make.core.proposal.indexed.IndexedProposal, _2: Option[org.make.core.question.QuestionId]): (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])(_, (value: org.make.core.question.QuestionId): Some[org.make.core.question.QuestionId]((id @ _))) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId]),org.make.core.question.QuestionId])).toSeq.distinct
|
|
1472
|
24916
|
57580
-
57580
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.$anonfun.<init>
|
|
new $anonfun()
|
|
1472
|
27750
|
57524
-
57624
|
Apply
|
org.make.api.question.QuestionService.getQuestions
|
|
DefaultProposalServiceComponent.this.questionService.getQuestions(proposalMap.values.collect[org.make.core.question.QuestionId](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId]),org.make.core.question.QuestionId] with java.io.Serializable {
def <init>(): <$anon: ((org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])) => org.make.core.question.QuestionId> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId]), B1 >: org.make.core.question.QuestionId](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])]: (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])): (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId]) @unchecked) match {
case (_1: org.make.core.proposal.indexed.IndexedProposal, _2: Option[org.make.core.question.QuestionId]): (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])(_, (value: org.make.core.question.QuestionId): Some[org.make.core.question.QuestionId]((id @ _))) => id
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])): Boolean = ((x1.asInstanceOf[(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])]: (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])): (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId]) @unchecked) match {
case (_1: org.make.core.proposal.indexed.IndexedProposal, _2: Option[org.make.core.question.QuestionId]): (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])(_, (value: org.make.core.question.QuestionId): Some[org.make.core.question.QuestionId]((id @ _))) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId]),org.make.core.question.QuestionId])).toSeq.distinct)
|
|
1481
|
25590
|
57968
-
57985
|
Apply
|
scala.collection.MapOps.get
|
|
proposals.get(id)
|
|
1482
|
24836
|
58049
-
58084
|
Apply
|
scala.collection.IterableOnceOps.find
|
|
questions.find(((x$59: org.make.core.question.Question) => x$59.questionId.==(qId)))
|
|
1482
|
23624
|
58086
-
58095
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.question.QuestionId](qId)
|
|
1482
|
26797
|
58064
-
58083
|
Apply
|
java.lang.Object.==
|
|
x$59.questionId.==(qId)
|
|
1482
|
27293
|
58035
-
58096
|
Apply
|
scala.Tuple4.apply
|
|
scala.Tuple4.apply[org.make.core.proposal.ProposalId, Some[org.make.core.proposal.indexed.IndexedProposal], Option[org.make.core.question.Question], Some[org.make.core.question.QuestionId]](id, scala.Some.apply[org.make.core.proposal.indexed.IndexedProposal](p), questions.find(((x$59: org.make.core.question.Question) => x$59.questionId.==(qId))), scala.Some.apply[org.make.core.question.QuestionId](qId))
|
|
1482
|
23163
|
58040
-
58047
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.proposal.indexed.IndexedProposal](p)
|
|
1483
|
25052
|
58143
-
58150
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.proposal.indexed.IndexedProposal](p)
|
|
1483
|
25514
|
58138
-
58163
|
Apply
|
scala.Tuple4.apply
|
|
scala.Tuple4.apply[org.make.core.proposal.ProposalId, Some[org.make.core.proposal.indexed.IndexedProposal], None.type, None.type](id, scala.Some.apply[org.make.core.proposal.indexed.IndexedProposal](p), scala.None, scala.None)
|
|
1483
|
22890
|
58152
-
58156
|
Select
|
scala.None
|
|
scala.None
|
|
1483
|
27762
|
58158
-
58162
|
Select
|
scala.None
|
|
scala.None
|
|
1484
|
23173
|
58210
-
58214
|
Select
|
scala.None
|
|
scala.None
|
|
1484
|
24766
|
58222
-
58226
|
Select
|
scala.None
|
|
scala.None
|
|
1484
|
23635
|
58205
-
58227
|
Apply
|
scala.Tuple4.apply
|
|
scala.Tuple4.apply[org.make.core.proposal.ProposalId, None.type, None.type, None.type](id, scala.None, scala.None, scala.None)
|
|
1484
|
27014
|
58216
-
58220
|
Select
|
scala.None
|
|
scala.None
|
|
1486
|
27229
|
58259
-
58260
|
Literal
|
<nosymbol>
|
|
5
|
|
1487
|
22725
|
58346
-
58372
|
Apply
|
scala.Function2.apply
|
|
action.apply(proposal, question)
|
|
1487
|
25062
|
58333
-
58344
|
Select
|
org.make.core.proposal.indexed.IndexedProposal.id
|
|
proposal.id
|
|
1487
|
26643
|
58323
-
58373
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.runAction
|
|
runAction(proposal.id, action.apply(proposal, question))
|
|
1489
|
23184
|
58488
-
58514
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String]("Proposal not found")
|
|
1489
|
26946
|
58443
-
58515
|
Apply
|
org.make.api.proposal.SingleActionResponse.apply
|
|
SingleActionResponse.apply(id, ActionKey.NotFound, scala.Some.apply[String]("Proposal not found"))
|
|
1489
|
24607
|
58425
-
58516
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[org.make.api.proposal.SingleActionResponse](SingleActionResponse.apply(id, ActionKey.NotFound, scala.Some.apply[String]("Proposal not found")))
|
|
1489
|
25370
|
58468
-
58486
|
Select
|
org.make.api.proposal.ActionKey.NotFound
|
|
ActionKey.NotFound
|
|
1491
|
22652
|
58573
-
58718
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[org.make.api.proposal.SingleActionResponse](SingleActionResponse.apply(id, ActionKey.QuestionNotFound, scala.Some.apply[String](("Question not found from id ".+(qId): String))))
|
|
1492
|
27235
|
58661
-
58701
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("Question not found from id ".+(qId): String))
|
|
1492
|
23568
|
58633
-
58659
|
Select
|
org.make.api.proposal.ActionKey.QuestionNotFound
|
|
ActionKey.QuestionNotFound
|
|
1492
|
25073
|
58608
-
58702
|
Apply
|
org.make.api.proposal.SingleActionResponse.apply
|
|
SingleActionResponse.apply(id, ActionKey.QuestionNotFound, scala.Some.apply[String](("Question not found from id ".+(qId): String)))
|
|
1495
|
26489
|
58750
-
58758
|
TypeApply
|
akka.stream.scaladsl.Sink.seq
|
|
akka.stream.scaladsl.Sink.seq[org.make.api.proposal.SingleActionResponse]
|
|
1495
|
23115
|
58749
-
58749
|
ApplyToImplicitArgs
|
akka.stream.Materializer.matFromSystem
|
|
stream.this.Materializer.matFromSystem(DefaultProposalServiceComponent.this.actorSystem)
|
|
1495
|
26793
|
57926
-
58759
|
ApplyToImplicitArgs
|
akka.stream.scaladsl.Source.runWith
|
|
akka.stream.scaladsl.Source.apply[org.make.core.proposal.ProposalId](proposalIds).map[(org.make.core.proposal.ProposalId, Option[org.make.core.proposal.indexed.IndexedProposal], Option[org.make.core.question.Question], Option[org.make.core.question.QuestionId])](((id: org.make.core.proposal.ProposalId) => proposals.get(id) match {
case (value: (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])): Some[(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])]((_1: org.make.core.proposal.indexed.IndexedProposal, _2: Option[org.make.core.question.QuestionId]): (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])((p @ _), (value: org.make.core.question.QuestionId): Some[org.make.core.question.QuestionId]((qId @ _)))) => scala.Tuple4.apply[org.make.core.proposal.ProposalId, Some[org.make.core.proposal.indexed.IndexedProposal], Option[org.make.core.question.Question], Some[org.make.core.question.QuestionId]](id, scala.Some.apply[org.make.core.proposal.indexed.IndexedProposal](p), questions.find(((x$59: org.make.core.question.Question) => x$59.questionId.==(qId))), scala.Some.apply[org.make.core.question.QuestionId](qId))
case (value: (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])): Some[(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])]((_1: org.make.core.proposal.indexed.IndexedProposal, _2: Option[org.make.core.question.QuestionId]): (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])((p @ _), scala.None)) => scala.Tuple4.apply[org.make.core.proposal.ProposalId, Some[org.make.core.proposal.indexed.IndexedProposal], None.type, None.type](id, scala.Some.apply[org.make.core.proposal.indexed.IndexedProposal](p), scala.None, scala.None)
case scala.None => scala.Tuple4.apply[org.make.core.proposal.ProposalId, None.type, None.type, None.type](id, scala.None, scala.None, scala.None)
})).mapAsync[org.make.api.proposal.SingleActionResponse](5)(((x0$1: (org.make.core.proposal.ProposalId, Option[org.make.core.proposal.indexed.IndexedProposal], Option[org.make.core.question.Question], Option[org.make.core.question.QuestionId])) => x0$1 match {
case (_1: org.make.core.proposal.ProposalId, _2: Option[org.make.core.proposal.indexed.IndexedProposal], _3: Option[org.make.core.question.Question], _4: Option[org.make.core.question.QuestionId]): (org.make.core.proposal.ProposalId, Option[org.make.core.proposal.indexed.IndexedProposal], Option[org.make.core.question.Question], Option[org.make.core.question.QuestionId])(_, (value: org.make.core.proposal.indexed.IndexedProposal): Some[org.make.core.proposal.indexed.IndexedProposal]((proposal @ _)), (value: org.make.core.question.Question): Some[org.make.core.question.Question]((question @ _)), _) => runAction(proposal.id, action.apply(proposal, question))
case (_1: org.make.core.proposal.ProposalId, _2: Option[org.make.core.proposal.indexed.IndexedProposal], _3: Option[org.make.core.question.Question], _4: Option[org.make.core.question.QuestionId]): (org.make.core.proposal.ProposalId, Option[org.make.core.proposal.indexed.IndexedProposal], Option[org.make.core.question.Question], Option[org.make.core.question.QuestionId])((id @ _), scala.None, _, _) => scala.concurrent.Future.successful[org.make.api.proposal.SingleActionResponse](SingleActionResponse.apply(id, ActionKey.NotFound, scala.Some.apply[String]("Proposal not found")))
case (_1: org.make.core.proposal.ProposalId, _2: Option[org.make.core.proposal.indexed.IndexedProposal], _3: Option[org.make.core.question.Question], _4: Option[org.make.core.question.QuestionId]): (org.make.core.proposal.ProposalId, Option[org.make.core.proposal.indexed.IndexedProposal], Option[org.make.core.question.Question], Option[org.make.core.question.QuestionId])((id @ _), (value: org.make.core.proposal.indexed.IndexedProposal): Some[org.make.core.proposal.indexed.IndexedProposal](_), _, (qId @ _)) => scala.concurrent.Future.successful[org.make.api.proposal.SingleActionResponse](SingleActionResponse.apply(id, ActionKey.QuestionNotFound, scala.Some.apply[String](("Question not found from id ".+(qId): String))))
})).runWith[scala.concurrent.Future[Seq[org.make.api.proposal.SingleActionResponse]]](akka.stream.scaladsl.Sink.seq[org.make.api.proposal.SingleActionResponse])(stream.this.Materializer.matFromSystem(DefaultProposalServiceComponent.this.actorSystem))
|
|
1495
|
25495
|
58749
-
58749
|
Select
|
org.make.api.technical.ActorSystemComponent.actorSystem
|
|
DefaultProposalServiceComponent.this.actorSystem
|
|
1499
|
25506
|
58892
-
58892
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1500
|
23619
|
58962
-
58989
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("Proposal not found": String))
|
|
1500
|
27457
|
58917
-
58990
|
Apply
|
org.make.api.proposal.SingleActionResponse.apply
|
|
SingleActionResponse.apply(id, ActionKey.NotFound, scala.Some.apply[String](("Proposal not found": String)))
|
|
1500
|
24535
|
58942
-
58960
|
Select
|
org.make.api.proposal.ActionKey.NotFound
|
|
ActionKey.NotFound
|
|
1501
|
22664
|
59053
-
59057
|
Select
|
scala.None
|
|
scala.None
|
|
1501
|
25000
|
59039
-
59051
|
Select
|
org.make.api.proposal.ActionKey.OK
|
|
ActionKey.OK
|
|
1501
|
26419
|
59014
-
59058
|
Apply
|
org.make.api.proposal.SingleActionResponse.apply
|
|
SingleActionResponse.apply(id, ActionKey.OK, scala.None)
|
|
1502
|
25521
|
59077
-
59077
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.$anonfun.<init>
|
|
new $anonfun()
|
|
1502
|
26939
|
58881
-
59326
|
ApplyToImplicitArgs
|
scala.concurrent.Future.recover
|
|
action.map[org.make.api.proposal.SingleActionResponse](((x0$1: Option[org.make.core.proposal.Proposal]) => x0$1 match {
case scala.None => SingleActionResponse.apply(id, ActionKey.NotFound, scala.Some.apply[String](("Proposal not found": String)))
case _ => SingleActionResponse.apply(id, ActionKey.OK, scala.None)
}))(scala.concurrent.ExecutionContext.Implicits.global).recover[org.make.api.proposal.SingleActionResponse](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Throwable,org.make.api.proposal.SingleActionResponse] with java.io.Serializable {
def <init>(): <$anon: Throwable => org.make.api.proposal.SingleActionResponse> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Throwable, B1 >: org.make.api.proposal.SingleActionResponse](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case (errors: Seq[org.make.core.ValidationError]): org.make.core.ValidationFailedError(scala.`package`.Seq.unapplySeq[org.make.core.ValidationError](<unapply-selector>) <unapply> ((error @ _))) => SingleActionResponse.apply(id, ActionKey.ValidationError.apply(error.key), error.message)
case (e @ _) => SingleActionResponse.apply(id, ActionKey.Unknown, scala.Some.apply[String](e.getMessage()))
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Throwable): Boolean = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case (errors: Seq[org.make.core.ValidationError]): org.make.core.ValidationFailedError(scala.`package`.Seq.unapplySeq[org.make.core.ValidationError](<unapply-selector>) <unapply> ((error @ _))) => true
case (e @ _) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Throwable,org.make.api.proposal.SingleActionResponse]))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1502
|
23270
|
59077
-
59077
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1504
|
23338
|
59194
-
59203
|
Select
|
org.make.core.ValidationError.key
|
|
error.key
|
|
1504
|
27100
|
59168
-
59204
|
Apply
|
org.make.api.proposal.ActionKey.ValidationError.apply
|
|
ActionKey.ValidationError.apply(error.key)
|
|
1504
|
24546
|
59206
-
59219
|
Select
|
org.make.core.ValidationError.message
|
|
error.message
|
|
1504
|
22490
|
59143
-
59220
|
Apply
|
org.make.api.proposal.SingleActionResponse.apply
|
|
SingleActionResponse.apply(id, ActionKey.ValidationError.apply(error.key), error.message)
|
|
1506
|
27381
|
59278
-
59295
|
Select
|
org.make.api.proposal.ActionKey.Unknown
|
|
ActionKey.Unknown
|
|
1506
|
25057
|
59302
-
59314
|
Apply
|
java.lang.Throwable.getMessage
|
|
e.getMessage()
|
|
1506
|
26641
|
59253
-
59316
|
Apply
|
org.make.api.proposal.SingleActionResponse.apply
|
|
SingleActionResponse.apply(id, ActionKey.Unknown, scala.Some.apply[String](e.getMessage()))
|
|
1506
|
22974
|
59297
-
59315
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](e.getMessage())
|
|
1511
|
22515
|
59342
-
59682
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.proposal.proposalservicetest
|
getProposals.flatMap[org.make.api.proposal.BulkActionResponse](((proposalMap: Map[org.make.core.proposal.ProposalId,(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.question.QuestionId])]) => getQuestions(proposalMap).flatMap[org.make.api.proposal.BulkActionResponse](((questions: Seq[org.make.core.question.Question]) => runActionOnAll(action, proposalIds, proposalMap, questions).map[org.make.api.proposal.BulkActionResponse](((actions: Seq[org.make.api.proposal.SingleActionResponse]) => {
<synthetic> <artifact> private[this] val x$61: (Seq[org.make.api.proposal.SingleActionResponse], Seq[org.make.api.proposal.SingleActionResponse]) = actions.partition(((x$60: org.make.api.proposal.SingleActionResponse) => x$60.key.==(ActionKey.OK))) match {
case (_1: Seq[org.make.api.proposal.SingleActionResponse], _2: Seq[org.make.api.proposal.SingleActionResponse]): (Seq[org.make.api.proposal.SingleActionResponse], Seq[org.make.api.proposal.SingleActionResponse])((successes @ _), (failures @ _)) => scala.Tuple2.apply[Seq[org.make.api.proposal.SingleActionResponse], Seq[org.make.api.proposal.SingleActionResponse]](successes, failures)
};
val successes: Seq[org.make.api.proposal.SingleActionResponse] = x$61._1;
val failures: Seq[org.make.api.proposal.SingleActionResponse] = x$61._2;
BulkActionResponse.apply(successes.map[org.make.core.proposal.ProposalId](((x$62: org.make.api.proposal.SingleActionResponse) => x$62.proposalId)), failures)
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1511
|
24530
|
59368
-
59368
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1512
|
26873
|
59392
-
59682
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
getQuestions(proposalMap).flatMap[org.make.api.proposal.BulkActionResponse](((questions: Seq[org.make.core.question.Question]) => runActionOnAll(action, proposalIds, proposalMap, questions).map[org.make.api.proposal.BulkActionResponse](((actions: Seq[org.make.api.proposal.SingleActionResponse]) => {
<synthetic> <artifact> private[this] val x$61: (Seq[org.make.api.proposal.SingleActionResponse], Seq[org.make.api.proposal.SingleActionResponse]) = actions.partition(((x$60: org.make.api.proposal.SingleActionResponse) => x$60.key.==(ActionKey.OK))) match {
case (_1: Seq[org.make.api.proposal.SingleActionResponse], _2: Seq[org.make.api.proposal.SingleActionResponse]): (Seq[org.make.api.proposal.SingleActionResponse], Seq[org.make.api.proposal.SingleActionResponse])((successes @ _), (failures @ _)) => scala.Tuple2.apply[Seq[org.make.api.proposal.SingleActionResponse], Seq[org.make.api.proposal.SingleActionResponse]](successes, failures)
};
val successes: Seq[org.make.api.proposal.SingleActionResponse] = x$61._1;
val failures: Seq[org.make.api.proposal.SingleActionResponse] = x$61._2;
BulkActionResponse.apply(successes.map[org.make.core.proposal.ProposalId](((x$62: org.make.api.proposal.SingleActionResponse) => x$62.proposalId)), failures)
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1512
|
23110
|
59404
-
59404
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1513
|
24389
|
59441
-
59682
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
runActionOnAll(action, proposalIds, proposalMap, questions).map[org.make.api.proposal.BulkActionResponse](((actions: Seq[org.make.api.proposal.SingleActionResponse]) => {
<synthetic> <artifact> private[this] val x$61: (Seq[org.make.api.proposal.SingleActionResponse], Seq[org.make.api.proposal.SingleActionResponse]) = actions.partition(((x$60: org.make.api.proposal.SingleActionResponse) => x$60.key.==(ActionKey.OK))) match {
case (_1: Seq[org.make.api.proposal.SingleActionResponse], _2: Seq[org.make.api.proposal.SingleActionResponse]): (Seq[org.make.api.proposal.SingleActionResponse], Seq[org.make.api.proposal.SingleActionResponse])((successes @ _), (failures @ _)) => scala.Tuple2.apply[Seq[org.make.api.proposal.SingleActionResponse], Seq[org.make.api.proposal.SingleActionResponse]](successes, failures)
};
val successes: Seq[org.make.api.proposal.SingleActionResponse] = x$61._1;
val failures: Seq[org.make.api.proposal.SingleActionResponse] = x$61._2;
BulkActionResponse.apply(successes.map[org.make.core.proposal.ProposalId](((x$62: org.make.api.proposal.SingleActionResponse) => x$62.proposalId)), failures)
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1513
|
26653
|
59453
-
59453
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1515
|
24847
|
59545
-
59545
|
Select
|
scala.Tuple2._1
|
|
x$61._1
|
|
1515
|
22502
|
59556
-
59556
|
Select
|
scala.Tuple2._2
|
|
x$61._2
|
|
1516
|
22812
|
59617
-
59674
|
Apply
|
org.make.api.proposal.BulkActionResponse.apply
|
|
BulkActionResponse.apply(successes.map[org.make.core.proposal.ProposalId](((x$62: org.make.api.proposal.SingleActionResponse) => x$62.proposalId)), failures)
|
|
1516
|
24983
|
59636
-
59663
|
Apply
|
scala.collection.IterableOps.map
|
|
successes.map[org.make.core.proposal.ProposalId](((x$62: org.make.api.proposal.SingleActionResponse) => x$62.proposalId))
|
|
1516
|
27393
|
59650
-
59662
|
Select
|
org.make.api.proposal.SingleActionResponse.proposalId
|
|
x$62.proposalId
|
|
1522
|
26879
|
59820
-
59820
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.proposal.proposalservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1522
|
24540
|
59797
-
59943
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.proposal.proposalservicetest
|
DefaultProposalServiceComponent.this.proposalCoordinatorService.getProposal(proposalId).flatMap[Option[Seq[org.make.api.proposal.ProposalActionResponse]]](((proposal: Option[org.make.core.proposal.Proposal]) => cats.implicits.toTraverseOps[Option, org.make.core.proposal.Proposal](proposal)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Seq[org.make.api.proposal.ProposalActionResponse]](((proposal: org.make.core.proposal.Proposal) => DefaultProposalService.this.getEvents(proposal)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[Seq[org.make.api.proposal.ProposalActionResponse]]](((events: Option[Seq[org.make.api.proposal.ProposalActionResponse]]) => events))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1523
|
24992
|
59912
-
59921
|
Apply
|
org.make.api.proposal.DefaultProposalServiceComponent.DefaultProposalService.getEvents
|
|
DefaultProposalService.this.getEvents(proposal)
|
|
1523
|
22743
|
59911
-
59911
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1523
|
26414
|
59911
-
59911
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1523
|
27314
|
59894
-
59894
|
Select
|
cats.instances.OptionInstances.catsStdInstancesForOption
|
|
cats.implicits.catsStdInstancesForOption
|
|
1523
|
24401
|
59891
-
59891
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1523
|
23043
|
59882
-
59943
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
cats.implicits.toTraverseOps[Option, org.make.core.proposal.Proposal](proposal)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Seq[org.make.api.proposal.ProposalActionResponse]](((proposal: org.make.core.proposal.Proposal) => DefaultProposalService.this.getEvents(proposal)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[Seq[org.make.api.proposal.ProposalActionResponse]]](((events: Option[Seq[org.make.api.proposal.ProposalActionResponse]]) => events))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1534
|
22270
|
60222
-
60281
|
Apply
|
org.make.api.technical.security.SecurityHelper.generateHash
|
|
org.make.api.technical.security.SecurityHelper.generateHash(rawString, salt)
|