| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
96
|
50467
|
3566
-
3568
|
Literal
|
<nosymbol>
|
|
32
|
|
98
|
43363
|
3637
-
3698
|
Apply
|
org.make.api.technical.ExecutorServiceHelper.RichExecutorService.instrument
|
|
org.make.api.technical.ExecutorServiceHelper.RichExecutorService(java.util.concurrent.Executors.newFixedThreadPool(DefaultFixturesService.this.nThreads)).instrument("fixtures")
|
|
98
|
34480
|
3637
-
3717
|
Select
|
org.make.api.technical.ExecutorServiceHelper.RichExecutorService.toExecutionContext
|
|
org.make.api.technical.ExecutorServiceHelper.RichExecutorService(org.make.api.technical.ExecutorServiceHelper.RichExecutorService(java.util.concurrent.Executors.newFixedThreadPool(DefaultFixturesService.this.nThreads)).instrument("fixtures")).toExecutionContext
|
|
108
|
37890
|
4097
-
4295
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultFixturesServiceComponent.this.userService.getUserByEmail(DefaultFixturesServiceComponent.this.makeSettings.defaultAdmin.email).flatMap[org.make.core.user.User](((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => scala.concurrent.Future.successful[org.make.core.user.User](user)
case scala.None => scala.concurrent.Future.failed[Nothing](new java.lang.IllegalStateException())
}))(DefaultFixturesService.this.executionContext)
|
|
108
|
31342
|
4124
-
4155
|
Select
|
org.make.api.extensions.MakeSettings.DefaultAdmin.email
|
|
DefaultFixturesServiceComponent.this.makeSettings.defaultAdmin.email
|
|
108
|
45467
|
4165
-
4165
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
109
|
43679
|
4194
-
4217
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[org.make.core.user.User](user)
|
|
110
|
49893
|
4245
-
4287
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](new java.lang.IllegalStateException())
|
|
110
|
36878
|
4259
-
4286
|
Apply
|
java.lang.IllegalStateException.<init>
|
|
new java.lang.IllegalStateException()
|
|
113
|
44728
|
4331
-
4331
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
113
|
35867
|
4302
-
5335
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
futureAdmin.flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((admin: org.make.core.user.User) => DefaultFixturesService.this.generateOperation(maybeOperationId, admin.userId).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((operationId: org.make.core.operation.OperationId) => DefaultFixturesService.this.generateQuestion(maybeQuestionId, operationId, forceCountries, forceLanguage).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((questionId: org.make.core.question.QuestionId) => DefaultFixturesService.this.generateUsers(questionId).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((users: Seq[org.make.core.user.User]) => DefaultFixturesService.this.generateOrganisations.flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((orgas: Seq[org.make.core.user.User]) => DefaultFixturesService.this.generatePartners(questionId, orgas).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((partners: Seq[org.make.core.partner.Partner]) => DefaultFixturesServiceComponent.this.questionService.getQuestion(questionId).map[org.make.core.question.Question](((x$1: Option[org.make.core.question.Question]) => x$1.get))(DefaultFixturesService.this.executionContext).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((question: org.make.core.question.Question) => DefaultFixturesService.this.generateTags(question).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((tags: Seq[org.make.core.tag.Tag]) => DefaultFixturesService.this.generateProposals(question, users.++[org.make.core.user.User](orgas), tags.map[org.make.core.tag.TagId](((x$2: org.make.core.tag.Tag) => x$2.tagId)), admin.userId, maxProposals).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((proposals: Seq[org.make.core.proposal.ProposalId]) => DefaultFixturesService.this.generateOrganisationVotes(orgas, proposals).map[org.make.api.technical.generator.fixtures.FixtureResponse](((orgasVoteCount: Int) => FixtureResponse.apply(operationId, questionId, users.size, orgas.size, partners.size, tags.size, proposals.size, orgasVoteCount)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)
|
|
114
|
48136
|
4354
-
5335
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultFixturesService.this.generateOperation(maybeOperationId, admin.userId).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((operationId: org.make.core.operation.OperationId) => DefaultFixturesService.this.generateQuestion(maybeQuestionId, operationId, forceCountries, forceLanguage).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((questionId: org.make.core.question.QuestionId) => DefaultFixturesService.this.generateUsers(questionId).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((users: Seq[org.make.core.user.User]) => DefaultFixturesService.this.generateOrganisations.flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((orgas: Seq[org.make.core.user.User]) => DefaultFixturesService.this.generatePartners(questionId, orgas).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((partners: Seq[org.make.core.partner.Partner]) => DefaultFixturesServiceComponent.this.questionService.getQuestion(questionId).map[org.make.core.question.Question](((x$1: Option[org.make.core.question.Question]) => x$1.get))(DefaultFixturesService.this.executionContext).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((question: org.make.core.question.Question) => DefaultFixturesService.this.generateTags(question).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((tags: Seq[org.make.core.tag.Tag]) => DefaultFixturesService.this.generateProposals(question, users.++[org.make.core.user.User](orgas), tags.map[org.make.core.tag.TagId](((x$2: org.make.core.tag.Tag) => x$2.tagId)), admin.userId, maxProposals).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((proposals: Seq[org.make.core.proposal.ProposalId]) => DefaultFixturesService.this.generateOrganisationVotes(orgas, proposals).map[org.make.api.technical.generator.fixtures.FixtureResponse](((orgasVoteCount: Int) => FixtureResponse.apply(operationId, questionId, users.size, orgas.size, partners.size, tags.size, proposals.size, orgasVoteCount)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)
|
|
114
|
35533
|
4369
-
4369
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
114
|
50985
|
4408
-
4420
|
Select
|
org.make.core.user.User.userId
|
|
admin.userId
|
|
115
|
50211
|
4445
-
4445
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
115
|
42623
|
4430
-
5335
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultFixturesService.this.generateQuestion(maybeQuestionId, operationId, forceCountries, forceLanguage).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((questionId: org.make.core.question.QuestionId) => DefaultFixturesService.this.generateUsers(questionId).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((users: Seq[org.make.core.user.User]) => DefaultFixturesService.this.generateOrganisations.flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((orgas: Seq[org.make.core.user.User]) => DefaultFixturesService.this.generatePartners(questionId, orgas).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((partners: Seq[org.make.core.partner.Partner]) => DefaultFixturesServiceComponent.this.questionService.getQuestion(questionId).map[org.make.core.question.Question](((x$1: Option[org.make.core.question.Question]) => x$1.get))(DefaultFixturesService.this.executionContext).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((question: org.make.core.question.Question) => DefaultFixturesService.this.generateTags(question).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((tags: Seq[org.make.core.tag.Tag]) => DefaultFixturesService.this.generateProposals(question, users.++[org.make.core.user.User](orgas), tags.map[org.make.core.tag.TagId](((x$2: org.make.core.tag.Tag) => x$2.tagId)), admin.userId, maxProposals).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((proposals: Seq[org.make.core.proposal.ProposalId]) => DefaultFixturesService.this.generateOrganisationVotes(orgas, proposals).map[org.make.api.technical.generator.fixtures.FixtureResponse](((orgasVoteCount: Int) => FixtureResponse.apply(operationId, questionId, users.size, orgas.size, partners.size, tags.size, proposals.size, orgasVoteCount)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)
|
|
116
|
37438
|
4534
-
5335
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultFixturesService.this.generateUsers(questionId).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((users: Seq[org.make.core.user.User]) => DefaultFixturesService.this.generateOrganisations.flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((orgas: Seq[org.make.core.user.User]) => DefaultFixturesService.this.generatePartners(questionId, orgas).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((partners: Seq[org.make.core.partner.Partner]) => DefaultFixturesServiceComponent.this.questionService.getQuestion(questionId).map[org.make.core.question.Question](((x$1: Option[org.make.core.question.Question]) => x$1.get))(DefaultFixturesService.this.executionContext).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((question: org.make.core.question.Question) => DefaultFixturesService.this.generateTags(question).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((tags: Seq[org.make.core.tag.Tag]) => DefaultFixturesService.this.generateProposals(question, users.++[org.make.core.user.User](orgas), tags.map[org.make.core.tag.TagId](((x$2: org.make.core.tag.Tag) => x$2.tagId)), admin.userId, maxProposals).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((proposals: Seq[org.make.core.proposal.ProposalId]) => DefaultFixturesService.this.generateOrganisationVotes(orgas, proposals).map[org.make.api.technical.generator.fixtures.FixtureResponse](((orgasVoteCount: Int) => FixtureResponse.apply(operationId, questionId, users.size, orgas.size, partners.size, tags.size, proposals.size, orgasVoteCount)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)
|
|
116
|
41604
|
4549
-
4549
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
117
|
36108
|
4601
-
4601
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
117
|
49881
|
4586
-
5335
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultFixturesService.this.generateOrganisations.flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((orgas: Seq[org.make.core.user.User]) => DefaultFixturesService.this.generatePartners(questionId, orgas).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((partners: Seq[org.make.core.partner.Partner]) => DefaultFixturesServiceComponent.this.questionService.getQuestion(questionId).map[org.make.core.question.Question](((x$1: Option[org.make.core.question.Question]) => x$1.get))(DefaultFixturesService.this.executionContext).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((question: org.make.core.question.Question) => DefaultFixturesService.this.generateTags(question).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((tags: Seq[org.make.core.tag.Tag]) => DefaultFixturesService.this.generateProposals(question, users.++[org.make.core.user.User](orgas), tags.map[org.make.core.tag.TagId](((x$2: org.make.core.tag.Tag) => x$2.tagId)), admin.userId, maxProposals).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((proposals: Seq[org.make.core.proposal.ProposalId]) => DefaultFixturesService.this.generateOrganisationVotes(orgas, proposals).map[org.make.api.technical.generator.fixtures.FixtureResponse](((orgasVoteCount: Int) => FixtureResponse.apply(operationId, questionId, users.size, orgas.size, partners.size, tags.size, proposals.size, orgasVoteCount)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)
|
|
118
|
30876
|
4649
-
4649
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
118
|
43669
|
4634
-
5335
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultFixturesService.this.generatePartners(questionId, orgas).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((partners: Seq[org.make.core.partner.Partner]) => DefaultFixturesServiceComponent.this.questionService.getQuestion(questionId).map[org.make.core.question.Question](((x$1: Option[org.make.core.question.Question]) => x$1.get))(DefaultFixturesService.this.executionContext).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((question: org.make.core.question.Question) => DefaultFixturesService.this.generateTags(question).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((tags: Seq[org.make.core.tag.Tag]) => DefaultFixturesService.this.generateProposals(question, users.++[org.make.core.user.User](orgas), tags.map[org.make.core.tag.TagId](((x$2: org.make.core.tag.Tag) => x$2.tagId)), admin.userId, maxProposals).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((proposals: Seq[org.make.core.proposal.ProposalId]) => DefaultFixturesService.this.generateOrganisationVotes(orgas, proposals).map[org.make.api.technical.generator.fixtures.FixtureResponse](((orgasVoteCount: Int) => FixtureResponse.apply(operationId, questionId, users.size, orgas.size, partners.size, tags.size, proposals.size, orgasVoteCount)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)
|
|
119
|
42588
|
4711
-
4711
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
119
|
43395
|
4758
-
4763
|
Select
|
scala.Option.get
|
|
x$1.get
|
|
119
|
34512
|
4757
-
4757
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
119
|
35068
|
4696
-
5335
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultFixturesServiceComponent.this.questionService.getQuestion(questionId).map[org.make.core.question.Question](((x$1: Option[org.make.core.question.Question]) => x$1.get))(DefaultFixturesService.this.executionContext).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((question: org.make.core.question.Question) => DefaultFixturesService.this.generateTags(question).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((tags: Seq[org.make.core.tag.Tag]) => DefaultFixturesService.this.generateProposals(question, users.++[org.make.core.user.User](orgas), tags.map[org.make.core.tag.TagId](((x$2: org.make.core.tag.Tag) => x$2.tagId)), admin.userId, maxProposals).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((proposals: Seq[org.make.core.proposal.ProposalId]) => DefaultFixturesService.this.generateOrganisationVotes(orgas, proposals).map[org.make.api.technical.generator.fixtures.FixtureResponse](((orgasVoteCount: Int) => FixtureResponse.apply(operationId, questionId, users.size, orgas.size, partners.size, tags.size, proposals.size, orgasVoteCount)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)
|
|
120
|
50175
|
4773
-
5335
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultFixturesService.this.generateTags(question).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((tags: Seq[org.make.core.tag.Tag]) => DefaultFixturesService.this.generateProposals(question, users.++[org.make.core.user.User](orgas), tags.map[org.make.core.tag.TagId](((x$2: org.make.core.tag.Tag) => x$2.tagId)), admin.userId, maxProposals).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((proposals: Seq[org.make.core.proposal.ProposalId]) => DefaultFixturesService.this.generateOrganisationVotes(orgas, proposals).map[org.make.api.technical.generator.fixtures.FixtureResponse](((orgasVoteCount: Int) => FixtureResponse.apply(operationId, questionId, users.size, orgas.size, partners.size, tags.size, proposals.size, orgasVoteCount)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)
|
|
120
|
37686
|
4788
-
4788
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
121
|
41563
|
4822
-
5335
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultFixturesService.this.generateProposals(question, users.++[org.make.core.user.User](orgas), tags.map[org.make.core.tag.TagId](((x$2: org.make.core.tag.Tag) => x$2.tagId)), admin.userId, maxProposals).flatMap[org.make.api.technical.generator.fixtures.FixtureResponse](((proposals: Seq[org.make.core.proposal.ProposalId]) => DefaultFixturesService.this.generateOrganisationVotes(orgas, proposals).map[org.make.api.technical.generator.fixtures.FixtureResponse](((orgasVoteCount: Int) => FixtureResponse.apply(operationId, questionId, users.size, orgas.size, partners.size, tags.size, proposals.size, orgasVoteCount)))(DefaultFixturesService.this.executionContext)))(DefaultFixturesService.this.executionContext)
|
|
121
|
49933
|
4903
-
4915
|
Select
|
org.make.core.user.User.userId
|
|
admin.userId
|
|
121
|
44418
|
4893
-
4900
|
Select
|
org.make.core.tag.Tag.tagId
|
|
x$2.tagId
|
|
121
|
36645
|
4884
-
4901
|
Apply
|
scala.collection.IterableOps.map
|
|
tags.map[org.make.core.tag.TagId](((x$2: org.make.core.tag.Tag) => x$2.tagId))
|
|
121
|
49968
|
4837
-
4837
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
121
|
31087
|
4868
-
4882
|
Apply
|
scala.collection.IterableOps.++
|
|
users.++[org.make.core.user.User](orgas)
|
|
122
|
36075
|
4939
-
5335
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultFixturesService.this.generateOrganisationVotes(orgas, proposals).map[org.make.api.technical.generator.fixtures.FixtureResponse](((orgasVoteCount: Int) => FixtureResponse.apply(operationId, questionId, users.size, orgas.size, partners.size, tags.size, proposals.size, orgasVoteCount)))(DefaultFixturesService.this.executionContext)
|
|
122
|
44181
|
4954
-
4954
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
123
|
31130
|
5015
-
5335
|
Apply
|
org.make.api.technical.generator.fixtures.FixtureResponse.apply
|
|
FixtureResponse.apply(operationId, questionId, users.size, orgas.size, partners.size, tags.size, proposals.size, orgasVoteCount)
|
|
126
|
45506
|
5120
-
5130
|
Select
|
scala.collection.SeqOps.size
|
|
users.size
|
|
127
|
37645
|
5160
-
5170
|
Select
|
scala.collection.SeqOps.size
|
|
orgas.size
|
|
128
|
50418
|
5195
-
5208
|
Select
|
scala.collection.SeqOps.size
|
|
partners.size
|
|
129
|
43160
|
5229
-
5238
|
Select
|
scala.collection.SeqOps.size
|
|
tags.size
|
|
130
|
35032
|
5264
-
5278
|
Select
|
scala.collection.SeqOps.size
|
|
proposals.size
|
|
137
|
49924
|
5519
-
5549
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[org.make.core.operation.OperationId](operationId)
|
|
139
|
43148
|
5645
-
5645
|
Select
|
org.make.api.technical.generator.fixtures.RichGen.value$default$2
|
|
qual$1.value$default$2
|
|
139
|
38239
|
5614
-
5644
|
ApplyImplicitView
|
org.make.api.technical.generator.fixtures.RichGen
|
|
fixtures.this.`package`.RichGen[org.make.core.operation.SimpleOperation](org.make.api.technical.generator.EntitiesGen.genSimpleOperation)
|
|
139
|
42066
|
5614
-
5644
|
Select
|
org.make.core.technical.generator.EntitiesGen.genSimpleOperation
|
|
org.make.api.technical.generator.EntitiesGen.genSimpleOperation
|
|
139
|
35570
|
5614
-
5650
|
ApplyToImplicitArgs
|
org.make.api.technical.generator.fixtures.RichGen.value
|
|
qual$1.value(x$1, x$2)
|
|
139
|
50251
|
5645
-
5645
|
Select
|
org.make.api.technical.generator.fixtures.RichGen.value$default$1
|
|
qual$1.value$default$1
|
|
140
|
35899
|
5746
-
5769
|
Select
|
org.make.core.operation.SimpleOperation.operationKind
|
|
operation.operationKind
|
|
140
|
44763
|
5714
-
5728
|
Select
|
org.make.core.operation.SimpleOperation.slug
|
|
operation.slug
|
|
140
|
42101
|
5661
-
5770
|
Apply
|
org.make.api.operation.OperationService.create
|
|
qual$2.create(x$3, x$4, x$5, x$6)
|
|
140
|
49671
|
5678
-
5678
|
Select
|
org.make.api.operation.OperationService.create$default$4
|
|
qual$2.create$default$4
|
|
140
|
48591
|
5661
-
5677
|
Select
|
org.make.api.operation.OperationServiceComponent.operationService
|
|
DefaultFixturesServiceComponent.this.operationService
|
|
152
|
41354
|
6072
-
6554
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultFixturesServiceComponent.this.questionService.getQuestion(questionId).flatMap[org.make.core.question.QuestionId](((x0$1: Option[org.make.core.question.Question]) => x0$1 match {
case (value: org.make.core.question.Question): Some[org.make.core.question.Question]((question @ _)) => DefaultFixturesServiceComponent.this.persistentQuestionService.modify({
<artifact> val x$1: cats.data.NonEmptyList[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = forceCountries.getOrElse[cats.data.NonEmptyList[org.make.core.reference.Country]](question.countries);
<artifact> val x$2: cats.data.NonEmptyList[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = forceLanguage.fold[cats.data.NonEmptyList[org.make.core.reference.Language]](question.languages)(((x$3: org.make.core.reference.Language) => cats.data.NonEmptyList.of[org.make.core.reference.Language](x$3)));
<artifact> val x$3: org.make.core.question.QuestionId = question.copy$default$1;
<artifact> val x$4: String = question.copy$default$2;
<artifact> val x$5: org.make.core.reference.Language = question.copy$default$4;
<artifact> val x$6: org.make.core.technical.Multilingual[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.NonEmpty]] @scala.reflect.internal.annotations.uncheckedBounds = question.copy$default$6;
<artifact> val x$7: Option[org.make.core.technical.Multilingual[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.NonEmpty]]] @scala.reflect.internal.annotations.uncheckedBounds = question.copy$default$7;
<artifact> val x$8: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = question.copy$default$8;
question.copy(x$3, x$4, x$1, x$5, x$2, x$6, x$7, x$8)
}).map[org.make.core.question.QuestionId](((x$4: org.make.core.question.Question) => x$4.questionId))(DefaultFixturesService.this.executionContext)
case scala.None => scala.concurrent.Future.successful[org.make.core.question.QuestionId](questionId)
}))(DefaultFixturesService.this.executionContext)
|
|
152
|
49465
|
6120
-
6120
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
156
|
50747
|
6249
-
6249
|
Select
|
org.make.core.question.Question.copy$default$8
|
|
question.copy$default$8
|
|
156
|
36431
|
6249
-
6249
|
Select
|
org.make.core.question.Question.copy$default$2
|
|
question.copy$default$2
|
|
156
|
42946
|
6240
-
6434
|
Apply
|
org.make.core.question.Question.copy
|
|
question.copy(x$3, x$4, x$1, x$5, x$2, x$6, x$7, x$8)
|
|
156
|
33735
|
6249
-
6249
|
Select
|
org.make.core.question.Question.copy$default$7
|
|
question.copy$default$7
|
|
156
|
41857
|
6249
-
6249
|
Select
|
org.make.core.question.Question.copy$default$6
|
|
question.copy$default$6
|
|
156
|
49707
|
6249
-
6249
|
Select
|
org.make.core.question.Question.copy$default$4
|
|
question.copy$default$4
|
|
156
|
44213
|
6249
-
6249
|
Select
|
org.make.core.question.Question.copy$default$1
|
|
question.copy$default$1
|
|
157
|
51306
|
6287
-
6331
|
Apply
|
scala.Option.getOrElse
|
|
forceCountries.getOrElse[cats.data.NonEmptyList[org.make.core.reference.Country]](question.countries)
|
|
157
|
37679
|
6312
-
6330
|
Select
|
org.make.core.question.Question.countries
|
|
question.countries
|
|
158
|
35321
|
6404
-
6413
|
Apply
|
cats.data.NonEmptyList.of
|
|
cats.data.NonEmptyList.of[org.make.core.reference.Language](x$3)
|
|
158
|
48090
|
6365
-
6414
|
Apply
|
scala.Option.fold
|
|
forceLanguage.fold[cats.data.NonEmptyList[org.make.core.reference.Language]](question.languages)(((x$3: org.make.core.reference.Language) => cats.data.NonEmptyList.of[org.make.core.reference.Language](x$3)))
|
|
158
|
43182
|
6384
-
6402
|
Select
|
org.make.core.question.Question.languages
|
|
question.languages
|
|
161
|
48126
|
6473
-
6473
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
161
|
35359
|
6474
-
6486
|
Select
|
org.make.core.question.Question.questionId
|
|
x$4.questionId
|
|
161
|
43965
|
6171
-
6487
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultFixturesServiceComponent.this.persistentQuestionService.modify({
<artifact> val x$1: cats.data.NonEmptyList[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = forceCountries.getOrElse[cats.data.NonEmptyList[org.make.core.reference.Country]](question.countries);
<artifact> val x$2: cats.data.NonEmptyList[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = forceLanguage.fold[cats.data.NonEmptyList[org.make.core.reference.Language]](question.languages)(((x$3: org.make.core.reference.Language) => cats.data.NonEmptyList.of[org.make.core.reference.Language](x$3)));
<artifact> val x$3: org.make.core.question.QuestionId = question.copy$default$1;
<artifact> val x$4: String = question.copy$default$2;
<artifact> val x$5: org.make.core.reference.Language = question.copy$default$4;
<artifact> val x$6: org.make.core.technical.Multilingual[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.NonEmpty]] @scala.reflect.internal.annotations.uncheckedBounds = question.copy$default$6;
<artifact> val x$7: Option[org.make.core.technical.Multilingual[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.NonEmpty]]] @scala.reflect.internal.annotations.uncheckedBounds = question.copy$default$7;
<artifact> val x$8: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = question.copy$default$8;
question.copy(x$3, x$4, x$1, x$5, x$2, x$6, x$7, x$8)
}).map[org.make.core.question.QuestionId](((x$4: org.make.core.question.Question) => x$4.questionId))(DefaultFixturesService.this.executionContext)
|
|
162
|
35858
|
6513
-
6542
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[org.make.core.question.QuestionId](questionId)
|
|
166
|
42376
|
6727
-
6727
|
Select
|
org.make.api.technical.generator.fixtures.RichGen.value$default$1
|
|
qual$1.value$default$1
|
|
166
|
47884
|
6642
-
6732
|
ApplyToImplicitArgs
|
org.make.api.technical.generator.fixtures.RichGen.value
|
|
qual$1.value(x$9, x$10)
|
|
166
|
33774
|
6642
-
6726
|
Apply
|
org.make.api.technical.generator.EntitiesGen.genCreateOperationOfQuestion
|
|
org.make.api.technical.generator.EntitiesGen.genCreateOperationOfQuestion(operationId, forceCountries, forceLanguage)
|
|
166
|
35113
|
6727
-
6727
|
Select
|
org.make.api.technical.generator.fixtures.RichGen.value$default$2
|
|
qual$1.value$default$2
|
|
166
|
51262
|
6642
-
6726
|
ApplyImplicitView
|
org.make.api.technical.generator.fixtures.RichGen
|
|
fixtures.this.`package`.RichGen[org.make.api.operation.CreateOperationOfQuestion](org.make.api.technical.generator.EntitiesGen.genCreateOperationOfQuestion(operationId, forceCountries, forceLanguage))
|
|
167
|
41392
|
6743
-
6921
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultFixturesServiceComponent.this.operationOfQuestionService.create(parameters).map[org.make.core.question.QuestionId](((question: org.make.core.operation.OperationOfQuestion) => {
DefaultFixturesServiceComponent.this.logger.info(("generated: question ".+(question.questionId): String));
question.questionId
}))(DefaultFixturesService.this.executionContext)
|
|
167
|
48904
|
6793
-
6793
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
168
|
44004
|
6819
-
6877
|
Apply
|
grizzled.slf4j.Logger.info
|
|
DefaultFixturesServiceComponent.this.logger.info(("generated: question ".+(question.questionId): String))
|
|
169
|
36912
|
6890
-
6909
|
Select
|
org.make.core.operation.OperationOfQuestion.questionId
|
|
question.questionId
|
|
175
|
47926
|
7090
-
7090
|
Select
|
org.make.api.technical.generator.fixtures.RichGen.value$default$1
|
|
qual$1.value$default$1
|
|
175
|
35311
|
7028
-
7089
|
ApplyImplicitView
|
org.make.api.technical.generator.fixtures.RichGen
|
|
fixtures.this.`package`.RichGen[List[org.make.api.user.UserRegisterData]](org.scalacheck.Gen.listOf[org.make.api.user.UserRegisterData](org.make.api.technical.generator.EntitiesGen.genUserRegisterData(scala.Some.apply[org.make.core.question.QuestionId](questionId))))
|
|
175
|
40048
|
7090
-
7090
|
Select
|
org.make.api.technical.generator.fixtures.RichGen.value$default$2
|
|
qual$1.value$default$2
|
|
175
|
33519
|
7071
-
7087
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.question.QuestionId](questionId)
|
|
175
|
43436
|
7028
-
7089
|
Apply
|
org.scalacheck.Gen.listOf
|
|
org.scalacheck.Gen.listOf[org.make.api.user.UserRegisterData](org.make.api.technical.generator.EntitiesGen.genUserRegisterData(scala.Some.apply[org.make.core.question.QuestionId](questionId)))
|
|
175
|
51295
|
7039
-
7088
|
Apply
|
org.make.api.technical.generator.EntitiesGen.genUserRegisterData
|
|
org.make.api.technical.generator.EntitiesGen.genUserRegisterData(scala.Some.apply[org.make.core.question.QuestionId](questionId))
|
|
175
|
36949
|
7028
-
7095
|
ApplyToImplicitArgs
|
org.make.api.technical.generator.fixtures.RichGen.value
|
|
qual$1.value(x$1, x$2)
|
|
176
|
48944
|
7102
-
7153
|
Apply
|
grizzled.slf4j.Logger.info
|
|
DefaultFixturesServiceComponent.this.logger.info(("generating: ".+(usersData.size).+(" users"): String))
|
|
177
|
33556
|
7167
-
7196
|
Apply
|
scala.collection.immutable.StrictOptimizedSeqOps.distinctBy
|
|
usersData.distinctBy[String](((x$5: org.make.api.user.UserRegisterData) => x$5.email))
|
|
177
|
41845
|
7188
-
7195
|
Select
|
org.make.api.user.UserRegisterData.email
|
|
x$5.email
|
|
178
|
51054
|
7216
-
7218
|
Literal
|
<nosymbol>
|
|
16
|
|
179
|
43471
|
7267
-
7287
|
Select
|
org.make.core.RequestContext.empty
|
|
org.make.core.RequestContext.empty
|
|
179
|
35352
|
7240
-
7288
|
Apply
|
org.make.api.user.UserService.register
|
|
DefaultFixturesServiceComponent.this.userService.register(data, org.make.core.RequestContext.empty)
|
|
181
|
40863
|
7315
-
7315
|
Select
|
org.make.api.technical.ActorSystemComponent.actorSystem
|
|
DefaultFixturesServiceComponent.this.actorSystem
|
|
181
|
36710
|
7315
-
7315
|
ApplyToImplicitArgs
|
akka.stream.Materializer.matFromSystem
|
|
stream.this.Materializer.matFromSystem(DefaultFixturesServiceComponent.this.actorSystem)
|
|
181
|
49453
|
7160
-
7325
|
ApplyToImplicitArgs
|
akka.stream.scaladsl.Source.runWith
|
|
akka.stream.scaladsl.Source.apply[org.make.api.user.UserRegisterData](usersData.distinctBy[String](((x$5: org.make.api.user.UserRegisterData) => x$5.email))).mapAsync[org.make.core.user.User](16)(((data: org.make.api.user.UserRegisterData) => DefaultFixturesServiceComponent.this.userService.register(data, org.make.core.RequestContext.empty))).runWith[scala.concurrent.Future[Seq[org.make.core.user.User]]](akka.stream.scaladsl.Sink.seq[org.make.core.user.User])(stream.this.Materializer.matFromSystem(DefaultFixturesServiceComponent.this.actorSystem))
|
|
181
|
48376
|
7316
-
7324
|
TypeApply
|
akka.stream.scaladsl.Sink.seq
|
|
akka.stream.scaladsl.Sink.seq[org.make.core.user.User]
|
|
185
|
41883
|
7409
-
7440
|
Apply
|
org.scalacheck.Gen.Parameters.withSize
|
|
org.scalacheck.Gen.Parameters.default.withSize(20)
|
|
186
|
43510
|
7537
-
7550
|
Apply
|
org.scalacheck.rng.Seed.random
|
|
org.scalacheck.rng.Seed.random()
|
|
186
|
35100
|
7515
-
7515
|
Select
|
org.scalacheck.Gen.pureApply$default$3
|
|
qual$1.pureApply$default$3
|
|
186
|
48414
|
7463
-
7551
|
Apply
|
org.scalacheck.Gen.pureApply
|
|
qual$1.pureApply(x$1, x$2, x$3)
|
|
186
|
34026
|
7474
-
7513
|
Select
|
org.make.api.technical.generator.EntitiesGen.genOrganisationRegisterData
|
|
org.make.api.technical.generator.EntitiesGen.genOrganisationRegisterData
|
|
186
|
47375
|
7463
-
7514
|
Apply
|
org.scalacheck.Gen.listOf
|
|
org.scalacheck.Gen.listOf[org.make.api.organisation.OrganisationRegisterData](org.make.api.technical.generator.EntitiesGen.genOrganisationRegisterData)
|
|
187
|
40001
|
7558
-
7617
|
Apply
|
grizzled.slf4j.Logger.info
|
|
DefaultFixturesServiceComponent.this.logger.info(("generating: ".+(orgasData.size).+(" organisations"): String))
|
|
188
|
49488
|
7631
-
7660
|
Apply
|
scala.collection.immutable.StrictOptimizedSeqOps.distinctBy
|
|
orgasData.distinctBy[String](((x$6: org.make.api.organisation.OrganisationRegisterData) => x$6.email))
|
|
188
|
36743
|
7652
-
7659
|
Select
|
org.make.api.organisation.OrganisationRegisterData.email
|
|
x$6.email
|
|
189
|
41636
|
7680
-
7682
|
Literal
|
<nosymbol>
|
|
16
|
|
190
|
46527
|
7704
-
7760
|
Apply
|
org.make.api.organisation.OrganisationService.register
|
|
DefaultFixturesServiceComponent.this.organisationService.register(data, org.make.core.RequestContext.empty)
|
|
190
|
33511
|
7739
-
7759
|
Select
|
org.make.core.RequestContext.empty
|
|
org.make.core.RequestContext.empty
|
|
192
|
48175
|
7787
-
7787
|
ApplyToImplicitArgs
|
akka.stream.Materializer.matFromSystem
|
|
stream.this.Materializer.matFromSystem(DefaultFixturesServiceComponent.this.actorSystem)
|
|
192
|
35135
|
7787
-
7787
|
Select
|
org.make.api.technical.ActorSystemComponent.actorSystem
|
|
DefaultFixturesServiceComponent.this.actorSystem
|
|
192
|
42718
|
7788
-
7796
|
TypeApply
|
akka.stream.scaladsl.Sink.seq
|
|
akka.stream.scaladsl.Sink.seq[org.make.core.user.User]
|
|
192
|
40038
|
7624
-
7797
|
ApplyToImplicitArgs
|
akka.stream.scaladsl.Source.runWith
|
|
akka.stream.scaladsl.Source.apply[org.make.api.organisation.OrganisationRegisterData](orgasData.distinctBy[String](((x$6: org.make.api.organisation.OrganisationRegisterData) => x$6.email))).mapAsync[org.make.core.user.User](16)(((data: org.make.api.organisation.OrganisationRegisterData) => DefaultFixturesServiceComponent.this.organisationService.register(data, org.make.core.RequestContext.empty))).runWith[scala.concurrent.Future[Seq[org.make.core.user.User]]](akka.stream.scaladsl.Sink.seq[org.make.core.user.User])(stream.this.Materializer.matFromSystem(DefaultFixturesServiceComponent.this.actorSystem))
|
|
196
|
36195
|
7929
-
7960
|
Apply
|
org.scalacheck.Gen.Parameters.withSize
|
|
org.scalacheck.Gen.Parameters.default.withSize(20)
|
|
198
|
34897
|
7994
-
8096
|
Apply
|
org.scalacheck.Gen.pureApply
|
|
qual$1.pureApply(x$1, x$2, x$3)
|
|
198
|
43222
|
7994
-
8202
|
Apply
|
scala.collection.IterableOps.++
|
|
{
<artifact> val qual$1: org.scalacheck.Gen[List[org.make.api.partner.CreatePartnerRequest]] @scala.reflect.internal.annotations.uncheckedBounds = org.scalacheck.Gen.listOf[org.make.api.partner.CreatePartnerRequest](org.make.api.technical.generator.EntitiesGen.genCreatePartnerRequest(scala.None, questionId));
<artifact> val x$1: org.scalacheck.Gen.Parameters = parameters;
<artifact> val x$2: org.scalacheck.rng.Seed = org.scalacheck.rng.Seed.random();
<artifact> val x$3: Int = qual$1.pureApply$default$3;
qual$1.pureApply(x$1, x$2, x$3)
}.++[org.make.api.partner.CreatePartnerRequest](organisations.map[org.make.api.partner.CreatePartnerRequest](((orga: org.make.core.user.User) => {
<artifact> val qual$2: org.make.api.technical.generator.fixtures.RichGen[org.make.api.partner.CreatePartnerRequest] @scala.reflect.internal.annotations.uncheckedBounds = fixtures.this.`package`.RichGen[org.make.api.partner.CreatePartnerRequest](org.make.api.technical.generator.EntitiesGen.genCreatePartnerRequest(scala.Some.apply[org.make.core.user.User](orga), questionId));
<artifact> val x$4: org.scalacheck.Gen.Parameters = qual$2.value$default$1;
<artifact> val x$5: org.scalacheck.rng.Seed = qual$2.value$default$2;
qual$2.value(x$4, x$5)
})))
|
|
198
|
49245
|
8041
-
8045
|
Select
|
scala.None
|
|
scala.None
|
|
198
|
43467
|
8060
-
8060
|
Select
|
org.scalacheck.Gen.pureApply$default$3
|
|
qual$1.pureApply$default$3
|
|
198
|
46562
|
8082
-
8095
|
Apply
|
org.scalacheck.rng.Seed.random
|
|
org.scalacheck.rng.Seed.random()
|
|
198
|
33262
|
7994
-
8059
|
Apply
|
org.scalacheck.Gen.listOf
|
|
org.scalacheck.Gen.listOf[org.make.api.partner.CreatePartnerRequest](org.make.api.technical.generator.EntitiesGen.genCreatePartnerRequest(scala.None, questionId))
|
|
198
|
41674
|
8005
-
8058
|
Apply
|
org.make.api.technical.generator.EntitiesGen.genCreatePartnerRequest
|
|
org.make.api.technical.generator.EntitiesGen.genCreatePartnerRequest(scala.None, questionId)
|
|
199
|
50002
|
8196
-
8196
|
Select
|
org.make.api.technical.generator.fixtures.RichGen.value$default$1
|
|
qual$2.value$default$1
|
|
199
|
40073
|
8136
-
8195
|
Apply
|
org.make.api.technical.generator.EntitiesGen.genCreatePartnerRequest
|
|
org.make.api.technical.generator.EntitiesGen.genCreatePartnerRequest(scala.Some.apply[org.make.core.user.User](orga), questionId)
|
|
199
|
32967
|
8136
-
8195
|
ApplyImplicitView
|
org.make.api.technical.generator.fixtures.RichGen
|
|
fixtures.this.`package`.RichGen[org.make.api.partner.CreatePartnerRequest](org.make.api.technical.generator.EntitiesGen.genCreatePartnerRequest(scala.Some.apply[org.make.core.user.User](orga), questionId))
|
|
199
|
46595
|
8110
-
8202
|
Apply
|
scala.collection.IterableOps.map
|
|
organisations.map[org.make.api.partner.CreatePartnerRequest](((orga: org.make.core.user.User) => {
<artifact> val qual$2: org.make.api.technical.generator.fixtures.RichGen[org.make.api.partner.CreatePartnerRequest] @scala.reflect.internal.annotations.uncheckedBounds = fixtures.this.`package`.RichGen[org.make.api.partner.CreatePartnerRequest](org.make.api.technical.generator.EntitiesGen.genCreatePartnerRequest(scala.Some.apply[org.make.core.user.User](orga), questionId));
<artifact> val x$4: org.scalacheck.Gen.Parameters = qual$2.value$default$1;
<artifact> val x$5: org.scalacheck.rng.Seed = qual$2.value$default$2;
qual$2.value(x$4, x$5)
}))
|
|
199
|
33298
|
8136
-
8201
|
ApplyToImplicitArgs
|
org.make.api.technical.generator.fixtures.RichGen.value
|
|
qual$2.value(x$4, x$5)
|
|
199
|
47662
|
8172
-
8182
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.user.User](orga)
|
|
199
|
41438
|
8196
-
8196
|
Select
|
org.make.api.technical.generator.fixtures.RichGen.value$default$2
|
|
qual$2.value$default$2
|
|
200
|
35648
|
8209
-
8266
|
Apply
|
grizzled.slf4j.Logger.info
|
|
DefaultFixturesServiceComponent.this.logger.info(("generating: ".+(partnersData.size).+(" partners"): String))
|
|
202
|
48722
|
8312
-
8314
|
Literal
|
<nosymbol>
|
|
16
|
|
203
|
39837
|
8336
-
8370
|
Apply
|
org.make.api.partner.PartnerService.createPartner
|
|
DefaultFixturesServiceComponent.this.partnerService.createPartner(data)
|
|
205
|
33004
|
8398
-
8406
|
TypeApply
|
akka.stream.scaladsl.Sink.seq
|
|
akka.stream.scaladsl.Sink.seq[org.make.core.partner.Partner]
|
|
205
|
41630
|
8397
-
8397
|
ApplyToImplicitArgs
|
akka.stream.Materializer.matFromSystem
|
|
stream.this.Materializer.matFromSystem(DefaultFixturesServiceComponent.this.actorSystem)
|
|
205
|
33337
|
8273
-
8407
|
ApplyToImplicitArgs
|
akka.stream.scaladsl.Source.runWith
|
|
akka.stream.scaladsl.Source.apply[org.make.api.partner.CreatePartnerRequest](partnersData).mapAsync[org.make.core.partner.Partner](16)(((data: org.make.api.partner.CreatePartnerRequest) => DefaultFixturesServiceComponent.this.partnerService.createPartner(data))).runWith[scala.concurrent.Future[Seq[org.make.core.partner.Partner]]](akka.stream.scaladsl.Sink.seq[org.make.core.partner.Partner])(stream.this.Materializer.matFromSystem(DefaultFixturesServiceComponent.this.actorSystem))
|
|
205
|
49749
|
8397
-
8397
|
Select
|
org.make.api.technical.ActorSystemComponent.actorSystem
|
|
DefaultFixturesServiceComponent.this.actorSystem
|
|
216
|
46362
|
8717
-
8750
|
Apply
|
org.scalacheck.Gen.Parameters.withSize
|
|
org.scalacheck.Gen.Parameters.default.withSize(2000)
|
|
219
|
43259
|
8844
-
8857
|
Apply
|
org.scalacheck.Gen.listOf
|
|
org.scalacheck.Gen.listOf[T](x$7)
|
|
220
|
35396
|
8885
-
8905
|
Apply
|
org.scalacheck.Gen.listOfN
|
|
org.scalacheck.Gen.listOfN[T](size, x$8)
|
|
223
|
39876
|
8941
-
8995
|
Apply
|
scala.Function1.apply
|
|
gen[org.make.core.proposal.Proposal].apply(org.make.api.technical.generator.EntitiesGen.genProposal(question, users, tagsIds))
|
|
223
|
48165
|
8945
-
8994
|
Apply
|
org.make.core.technical.generator.EntitiesGen.genProposal
|
|
org.make.api.technical.generator.EntitiesGen.genProposal(question, users, tagsIds)
|
|
224
|
49787
|
9005
-
9005
|
Select
|
org.scalacheck.Gen.pureApply$default$3
|
|
qual$1.pureApply$default$3
|
|
224
|
32754
|
9027
-
9040
|
Apply
|
org.scalacheck.rng.Seed.random
|
|
org.scalacheck.rng.Seed.random()
|
|
224
|
41671
|
8941
-
9041
|
Apply
|
org.scalacheck.Gen.pureApply
|
|
qual$1.pureApply(x$1, x$2, x$3)
|
|
225
|
33806
|
9048
-
9107
|
Apply
|
grizzled.slf4j.Logger.info
|
|
DefaultFixturesServiceComponent.this.logger.info(("generating: ".+(proposalsData.size).+(" proposals"): String))
|
|
228
|
47152
|
9155
-
9157
|
Literal
|
<nosymbol>
|
|
16
|
|
229
|
39302
|
9183
-
9198
|
Select
|
org.make.api.proposal.ProposalServiceComponent.proposalService
|
|
DefaultFixturesServiceComponent.this.proposalService
|
|
230
|
31944
|
9183
-
9780
|
Apply
|
org.make.api.proposal.ProposalService.propose
|
|
qual$2.propose(x$4, x$5, x$6, x$7, x$8, x$11, x$9, x$10, x$12)
|
|
231
|
34885
|
9265
-
9280
|
Select
|
org.make.core.proposal.Proposal.author
|
|
proposal.author
|
|
231
|
48202
|
9253
-
9280
|
Apply
|
java.lang.Object.==
|
|
x$9.userId.==(proposal.author)
|
|
231
|
40320
|
9242
-
9285
|
Select
|
scala.Option.get
|
|
users.find(((x$9: org.make.core.user.User) => x$9.userId.==(proposal.author))).get
|
|
232
|
32791
|
9318
-
9342
|
Select
|
org.make.core.proposal.Proposal.creationContext
|
|
proposal.creationContext
|
|
233
|
41424
|
9370
-
9416
|
Apply
|
scala.Option.getOrElse
|
|
proposal.createdAt.getOrElse[java.time.ZonedDateTime](org.make.core.DateHelper.now())
|
|
233
|
49534
|
9399
-
9415
|
Apply
|
org.make.core.DefaultDateHelper.now
|
|
org.make.core.DateHelper.now()
|
|
234
|
33842
|
9442
-
9458
|
Select
|
org.make.core.proposal.Proposal.content
|
|
proposal.content
|
|
236
|
46313
|
9527
-
9551
|
Select
|
org.make.core.proposal.Proposal.initialProposal
|
|
proposal.initialProposal
|
|
237
|
34922
|
9589
-
9664
|
Apply
|
scala.Option.getOrElse
|
|
proposal.creationContext.languageContext.language.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))
|
|
237
|
39339
|
9649
-
9663
|
Apply
|
org.make.core.reference.Language.apply
|
|
org.make.core.reference.Language.apply("fr")
|
|
238
|
47958
|
9694
-
9714
|
Select
|
org.make.core.proposal.Proposal.isAnonymous
|
|
proposal.isAnonymous
|
|
239
|
39830
|
9745
-
9766
|
Select
|
org.make.core.proposal.Proposal.proposalType
|
|
proposal.proposalType
|
|
241
|
33593
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$4
|
|
proposal.copy$default$4
|
|
241
|
40896
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$9
|
|
proposal.copy$default$9
|
|
241
|
39329
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$24
|
|
proposal.copy$default$24
|
|
241
|
45322
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$2
|
|
proposal.copy$default$2
|
|
241
|
34400
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$13
|
|
proposal.copy$default$13
|
|
241
|
34687
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$7
|
|
proposal.copy$default$7
|
|
241
|
47445
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$23
|
|
proposal.copy$default$23
|
|
241
|
47409
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$14
|
|
proposal.copy$default$14
|
|
241
|
47953
|
9797
-
9797
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
241
|
41960
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$21
|
|
proposal.copy$default$21
|
|
241
|
46063
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$11
|
|
proposal.copy$default$11
|
|
241
|
31980
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$10
|
|
proposal.copy$default$10
|
|
241
|
41463
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$3
|
|
proposal.copy$default$3
|
|
241
|
47746
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$17
|
|
proposal.copy$default$17
|
|
241
|
47994
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$8
|
|
proposal.copy$default$8
|
|
241
|
41220
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$12
|
|
proposal.copy$default$12
|
|
241
|
46352
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$5
|
|
proposal.copy$default$5
|
|
241
|
40685
|
9183
-
9851
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
{
<artifact> val qual$2: org.make.api.proposal.ProposalService = DefaultFixturesServiceComponent.this.proposalService;
<artifact> val x$4: org.make.core.user.User = users.find(((x$9: org.make.core.user.User) => x$9.userId.==(proposal.author))).get;
<artifact> val x$5: org.make.core.RequestContext = proposal.creationContext;
<artifact> val x$6: java.time.ZonedDateTime = proposal.createdAt.getOrElse[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$7: String = proposal.content;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Boolean = proposal.initialProposal;
<artifact> val x$10: org.make.core.reference.Language = proposal.creationContext.languageContext.language.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$11: Boolean = proposal.isAnonymous;
<artifact> val x$12: org.make.core.proposal.ProposalType = proposal.proposalType;
qual$2.propose(x$4, x$5, x$6, x$7, x$8, x$11, x$9, x$10, x$12)
}.map[org.make.core.proposal.Proposal](((proposalId: org.make.core.proposal.ProposalId) => proposal.copy(proposalId, proposal.copy$default$2, proposal.copy$default$3, proposal.copy$default$4, proposal.copy$default$5, proposal.copy$default$6, proposal.copy$default$7, proposal.copy$default$8, proposal.copy$default$9, proposal.copy$default$10, proposal.copy$default$11, proposal.copy$default$12, proposal.copy$default$13, proposal.copy$default$14, proposal.copy$default$15, proposal.copy$default$16, proposal.copy$default$17, proposal.copy$default$18, proposal.copy$default$19, proposal.copy$default$20, proposal.copy$default$21, proposal.copy$default$22, proposal.copy$default$23, proposal.copy$default$24)))(DefaultFixturesService.this.executionContext)
|
|
241
|
32018
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$19
|
|
proposal.copy$default$19
|
|
241
|
31453
|
9812
-
9850
|
Apply
|
org.make.core.proposal.Proposal.copy
|
|
proposal.copy(proposalId, proposal.copy$default$2, proposal.copy$default$3, proposal.copy$default$4, proposal.copy$default$5, proposal.copy$default$6, proposal.copy$default$7, proposal.copy$default$8, proposal.copy$default$9, proposal.copy$default$10, proposal.copy$default$11, proposal.copy$default$12, proposal.copy$default$13, proposal.copy$default$14, proposal.copy$default$15, proposal.copy$default$16, proposal.copy$default$17, proposal.copy$default$18, proposal.copy$default$19, proposal.copy$default$20, proposal.copy$default$21, proposal.copy$default$22, proposal.copy$default$23, proposal.copy$default$24)
|
|
241
|
35430
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$16
|
|
proposal.copy$default$16
|
|
241
|
39291
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$15
|
|
proposal.copy$default$15
|
|
241
|
34159
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$22
|
|
proposal.copy$default$22
|
|
241
|
38486
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$6
|
|
proposal.copy$default$6
|
|
241
|
45825
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$20
|
|
proposal.copy$default$20
|
|
241
|
40929
|
9821
-
9821
|
Select
|
org.make.core.proposal.Proposal.copy$default$18
|
|
proposal.copy$default$18
|
|
243
|
33088
|
9880
-
9882
|
Literal
|
<nosymbol>
|
|
16
|
|
244
|
45861
|
9908
-
9923
|
Select
|
org.make.core.proposal.Proposal.status
|
|
proposal.status
|
|
245
|
41711
|
9975
-
10002
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[org.make.core.proposal.Proposal](proposal)
|
|
248
|
33587
|
10112
-
10131
|
Select
|
org.make.core.proposal.Proposal.proposalId
|
|
proposal.proposalId
|
|
248
|
46174
|
10146
-
10166
|
Select
|
org.make.core.RequestContext.empty
|
|
org.make.core.RequestContext.empty
|
|
249
|
31490
|
10062
-
10203
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultFixturesServiceComponent.this.proposalService.postponeProposal(proposal.proposalId, adminUserId, org.make.core.RequestContext.empty).map[org.make.core.proposal.Proposal](((x$10: Option[org.make.api.proposal.ModerationProposalResponse]) => proposal))(DefaultFixturesService.this.executionContext)
|
|
249
|
39087
|
10188
-
10188
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
253
|
47699
|
10344
-
10363
|
Select
|
org.make.core.proposal.Proposal.proposalId
|
|
proposal.proposalId
|
|
255
|
40109
|
10443
-
10463
|
Select
|
org.make.core.RequestContext.empty
|
|
org.make.core.RequestContext.empty
|
|
257
|
32569
|
10535
-
10539
|
Select
|
scala.None
|
|
scala.None
|
|
258
|
45614
|
10584
-
10588
|
Select
|
scala.None
|
|
scala.None
|
|
259
|
41210
|
10632
-
10637
|
Literal
|
<nosymbol>
|
|
false
|
|
260
|
33626
|
10664
-
10677
|
Select
|
org.make.core.proposal.Proposal.tags
|
|
proposal.tags
|
|
262
|
46632
|
10716
-
10716
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
262
|
39123
|
10262
-
10731
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultFixturesServiceComponent.this.proposalService.validateProposal(proposal.proposalId, adminUserId, org.make.core.RequestContext.empty, question, scala.None, scala.None, false, proposal.tags).map[org.make.core.proposal.Proposal](((x$11: Option[org.make.api.proposal.ModerationProposalResponse]) => proposal))(DefaultFixturesService.this.executionContext)
|
|
266
|
31241
|
10869
-
10888
|
Select
|
org.make.core.proposal.Proposal.proposalId
|
|
proposal.proposalId
|
|
268
|
47733
|
10968
-
10988
|
Select
|
org.make.core.RequestContext.empty
|
|
org.make.core.RequestContext.empty
|
|
269
|
45651
|
11018
-
11110
|
Apply
|
org.make.api.proposal.RefuseProposalRequest.apply
|
|
org.make.api.proposal.RefuseProposalRequest.apply(false, proposal.refusalReason)
|
|
269
|
33042
|
11087
-
11109
|
Select
|
org.make.core.proposal.Proposal.refusalReason
|
|
proposal.refusalReason
|
|
269
|
40146
|
11064
-
11069
|
Literal
|
<nosymbol>
|
|
false
|
|
271
|
37253
|
11149
-
11149
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
271
|
33374
|
10789
-
11164
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultFixturesServiceComponent.this.proposalService.refuseProposal(proposal.proposalId, adminUserId, org.make.core.RequestContext.empty, org.make.api.proposal.RefuseProposalRequest.apply(false, proposal.refusalReason)).map[org.make.core.proposal.Proposal](((x$12: Option[org.make.api.proposal.ModerationProposalResponse]) => proposal))(DefaultFixturesService.this.executionContext)
|
|
272
|
47439
|
11209
-
11236
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[org.make.core.proposal.Proposal](proposal)
|
|
275
|
39578
|
11277
-
11279
|
Literal
|
<nosymbol>
|
|
16
|
|
276
|
45642
|
11317
-
12220
|
Apply
|
scala.Option.map
|
|
proposal.votingOptions.map[Seq[org.make.api.proposal.UpdateVoteRequest]](((x$13: org.make.core.proposal.VotingOptions) => x$13.deprecatedVotesSeq.map[org.make.api.proposal.UpdateVoteRequest](((v: org.make.core.proposal.Vote) => org.make.api.proposal.UpdateVoteRequest.apply(v.key, scala.Some.apply[Int](v.count), scala.Some.apply[Int](v.countVerified), scala.Some.apply[Int](v.countSequence), scala.Some.apply[Int](v.countSegment), v.qualifications.map[org.make.api.proposal.UpdateQualificationRequest](((q: org.make.core.proposal.Qualification) => org.make.api.proposal.UpdateQualificationRequest.apply(q.key, scala.Some.apply[Int](q.count), scala.Some.apply[Int](q.countVerified), scala.Some.apply[Int](q.countSequence), scala.Some.apply[Int](q.countSegment)))))))))
|
|
278
|
32868
|
11357
-
12208
|
Apply
|
scala.collection.IterableOps.map
|
|
x$13.deprecatedVotesSeq.map[org.make.api.proposal.UpdateVoteRequest](((v: org.make.core.proposal.Vote) => org.make.api.proposal.UpdateVoteRequest.apply(v.key, scala.Some.apply[Int](v.count), scala.Some.apply[Int](v.countVerified), scala.Some.apply[Int](v.countSequence), scala.Some.apply[Int](v.countSegment), v.qualifications.map[org.make.api.proposal.UpdateQualificationRequest](((q: org.make.core.proposal.Qualification) => org.make.api.proposal.UpdateQualificationRequest.apply(q.key, scala.Some.apply[Int](q.count), scala.Some.apply[Int](q.countVerified), scala.Some.apply[Int](q.countSequence), scala.Some.apply[Int](q.countSegment)))))))
|
|
280
|
39867
|
11437
-
12192
|
Apply
|
org.make.api.proposal.UpdateVoteRequest.apply
|
|
org.make.api.proposal.UpdateVoteRequest.apply(v.key, scala.Some.apply[Int](v.count), scala.Some.apply[Int](v.countVerified), scala.Some.apply[Int](v.countSequence), scala.Some.apply[Int](v.countSegment), v.qualifications.map[org.make.api.proposal.UpdateQualificationRequest](((q: org.make.core.proposal.Qualification) => org.make.api.proposal.UpdateQualificationRequest.apply(q.key, scala.Some.apply[Int](q.count), scala.Some.apply[Int](q.countVerified), scala.Some.apply[Int](q.countSequence), scala.Some.apply[Int](q.countSegment)))))
|
|
281
|
30723
|
11482
-
11487
|
Select
|
org.make.core.proposal.Vote.key
|
|
v.key
|
|
282
|
39908
|
11517
-
11530
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](v.count)
|
|
282
|
47776
|
11522
-
11529
|
Select
|
org.make.core.proposal.Vote.count
|
|
v.count
|
|
283
|
33081
|
11573
-
11588
|
Select
|
org.make.core.proposal.Vote.countVerified
|
|
v.countVerified
|
|
283
|
46101
|
11568
-
11589
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](v.countVerified)
|
|
284
|
33416
|
11627
-
11648
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](v.countSequence)
|
|
284
|
37291
|
11632
-
11647
|
Select
|
org.make.core.proposal.Vote.countSequence
|
|
v.countSequence
|
|
285
|
39616
|
11685
-
11705
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](v.countSegment)
|
|
285
|
47188
|
11690
-
11704
|
Select
|
org.make.core.proposal.Vote.countSegment
|
|
v.countSegment
|
|
286
|
44553
|
11744
-
12172
|
Apply
|
scala.collection.IterableOps.map
|
|
v.qualifications.map[org.make.api.proposal.UpdateQualificationRequest](((q: org.make.core.proposal.Qualification) => org.make.api.proposal.UpdateQualificationRequest.apply(q.key, scala.Some.apply[Int](q.count), scala.Some.apply[Int](q.countVerified), scala.Some.apply[Int](q.countSequence), scala.Some.apply[Int](q.countSegment))))
|
|
288
|
31229
|
11817
-
12150
|
Apply
|
org.make.api.proposal.UpdateQualificationRequest.apply
|
|
org.make.api.proposal.UpdateQualificationRequest.apply(q.key, scala.Some.apply[Int](q.count), scala.Some.apply[Int](q.countVerified), scala.Some.apply[Int](q.countSequence), scala.Some.apply[Int](q.countSegment))
|
|
289
|
31191
|
11877
-
11882
|
Select
|
org.make.core.proposal.Qualification.key
|
|
q.key
|
|
290
|
43821
|
11923
-
11930
|
Select
|
org.make.core.proposal.Qualification.count
|
|
q.count
|
|
290
|
40713
|
11918
-
11931
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](q.count)
|
|
291
|
45606
|
11975
-
11996
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](q.countVerified)
|
|
291
|
32831
|
11980
-
11995
|
Select
|
org.make.core.proposal.Qualification.countVerified
|
|
q.countVerified
|
|
292
|
38029
|
12045
-
12060
|
Select
|
org.make.core.proposal.Qualification.countSequence
|
|
q.countSequence
|
|
292
|
33160
|
12040
-
12061
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](q.countSequence)
|
|
293
|
47223
|
12109
-
12123
|
Select
|
org.make.core.proposal.Qualification.countSegment
|
|
q.countSegment
|
|
293
|
39372
|
12104
-
12124
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](q.countSegment)
|
|
299
|
37783
|
12231
-
12246
|
Select
|
org.make.core.proposal.Proposal.status
|
|
proposal.status
|
|
302
|
32017
|
12313
-
12659
|
Apply
|
org.make.api.proposal.ProposalService.updateVotes
|
|
DefaultFixturesServiceComponent.this.proposalService.updateVotes(proposal.proposalId, adminUserId, org.make.core.RequestContext.empty, proposal.updatedAt.getOrElse[java.time.ZonedDateTime](org.make.core.DateHelper.now()), votes.getOrElse[Seq[org.make.api.proposal.UpdateVoteRequest]](scala.`package`.Seq.empty[Nothing]))
|
|
302
|
37818
|
12357
-
12357
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(DefaultFixturesService.this.executionContext)
|
|
302
|
45401
|
12357
-
12357
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
303
|
33369
|
12390
-
12409
|
Select
|
org.make.core.proposal.Proposal.proposalId
|
|
proposal.proposalId
|
|
305
|
46387
|
12489
-
12509
|
Select
|
org.make.core.RequestContext.empty
|
|
org.make.core.RequestContext.empty
|
|
306
|
31268
|
12541
-
12587
|
Apply
|
scala.Option.getOrElse
|
|
proposal.updatedAt.getOrElse[java.time.ZonedDateTime](org.make.core.DateHelper.now())
|
|
306
|
38872
|
12570
-
12586
|
Apply
|
org.make.core.DefaultDateHelper.now
|
|
org.make.core.DateHelper.now()
|
|
307
|
39903
|
12615
-
12641
|
Apply
|
scala.Option.getOrElse
|
|
votes.getOrElse[Seq[org.make.api.proposal.UpdateVoteRequest]](scala.`package`.Seq.empty[Nothing])
|
|
307
|
44316
|
12631
-
12640
|
TypeApply
|
scala.collection.SeqFactory.Delegate.empty
|
|
scala.`package`.Seq.empty[Nothing]
|
|
309
|
46425
|
12313
-
12700
|
Apply
|
cats.Functor.Ops.as
|
|
cats.implicits.toFunctorOps[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]](DefaultFixturesServiceComponent.this.proposalService.updateVotes(proposal.proposalId, adminUserId, org.make.core.RequestContext.empty, proposal.updatedAt.getOrElse[java.time.ZonedDateTime](org.make.core.DateHelper.now()), votes.getOrElse[Seq[org.make.api.proposal.UpdateVoteRequest]](scala.`package`.Seq.empty[Nothing])))(cats.implicits.catsStdInstancesForFuture(DefaultFixturesService.this.executionContext)).as[org.make.core.proposal.ProposalId](proposal.proposalId)
|
|
309
|
50317
|
12680
-
12699
|
Select
|
org.make.core.proposal.Proposal.proposalId
|
|
proposal.proposalId
|
|
310
|
31017
|
12723
-
12761
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[org.make.core.proposal.ProposalId](proposal.proposalId)
|
|
310
|
39612
|
12741
-
12760
|
Select
|
org.make.core.proposal.Proposal.proposalId
|
|
proposal.proposalId
|
|
313
|
43811
|
12801
-
12809
|
TypeApply
|
akka.stream.scaladsl.Sink.seq
|
|
akka.stream.scaladsl.Sink.seq[org.make.core.proposal.ProposalId]
|
|
313
|
39656
|
12800
-
12800
|
Select
|
org.make.api.technical.ActorSystemComponent.actorSystem
|
|
DefaultFixturesServiceComponent.this.actorSystem
|
|
313
|
32056
|
12800
-
12800
|
ApplyToImplicitArgs
|
akka.stream.Materializer.matFromSystem
|
|
stream.this.Materializer.matFromSystem(DefaultFixturesServiceComponent.this.actorSystem)
|
|
313
|
46133
|
9115
-
12810
|
ApplyToImplicitArgs
|
akka.stream.scaladsl.Source.runWith
|
|
akka.stream.scaladsl.Source.apply[org.make.core.proposal.Proposal](proposalsData).mapAsync[org.make.core.proposal.Proposal](16)(((proposal: org.make.core.proposal.Proposal) => {
<artifact> val qual$2: org.make.api.proposal.ProposalService = DefaultFixturesServiceComponent.this.proposalService;
<artifact> val x$4: org.make.core.user.User = users.find(((x$9: org.make.core.user.User) => x$9.userId.==(proposal.author))).get;
<artifact> val x$5: org.make.core.RequestContext = proposal.creationContext;
<artifact> val x$6: java.time.ZonedDateTime = proposal.createdAt.getOrElse[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$7: String = proposal.content;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Boolean = proposal.initialProposal;
<artifact> val x$10: org.make.core.reference.Language = proposal.creationContext.languageContext.language.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$11: Boolean = proposal.isAnonymous;
<artifact> val x$12: org.make.core.proposal.ProposalType = proposal.proposalType;
qual$2.propose(x$4, x$5, x$6, x$7, x$8, x$11, x$9, x$10, x$12)
}.map[org.make.core.proposal.Proposal](((proposalId: org.make.core.proposal.ProposalId) => proposal.copy(proposalId, proposal.copy$default$2, proposal.copy$default$3, proposal.copy$default$4, proposal.copy$default$5, proposal.copy$default$6, proposal.copy$default$7, proposal.copy$default$8, proposal.copy$default$9, proposal.copy$default$10, proposal.copy$default$11, proposal.copy$default$12, proposal.copy$default$13, proposal.copy$default$14, proposal.copy$default$15, proposal.copy$default$16, proposal.copy$default$17, proposal.copy$default$18, proposal.copy$default$19, proposal.copy$default$20, proposal.copy$default$21, proposal.copy$default$22, proposal.copy$default$23, proposal.copy$default$24)))(DefaultFixturesService.this.executionContext))).mapAsync[org.make.core.proposal.Proposal](16)(((proposal: org.make.core.proposal.Proposal) => proposal.status match {
case org.make.core.proposal.ProposalStatus.Pending => scala.concurrent.Future.successful[org.make.core.proposal.Proposal](proposal)
case org.make.core.proposal.ProposalStatus.Postponed => DefaultFixturesServiceComponent.this.proposalService.postponeProposal(proposal.proposalId, adminUserId, org.make.core.RequestContext.empty).map[org.make.core.proposal.Proposal](((x$10: Option[org.make.api.proposal.ModerationProposalResponse]) => proposal))(DefaultFixturesService.this.executionContext)
case org.make.core.proposal.ProposalStatus.Accepted => DefaultFixturesServiceComponent.this.proposalService.validateProposal(proposal.proposalId, adminUserId, org.make.core.RequestContext.empty, question, scala.None, scala.None, false, proposal.tags).map[org.make.core.proposal.Proposal](((x$11: Option[org.make.api.proposal.ModerationProposalResponse]) => proposal))(DefaultFixturesService.this.executionContext)
case org.make.core.proposal.ProposalStatus.Refused => DefaultFixturesServiceComponent.this.proposalService.refuseProposal(proposal.proposalId, adminUserId, org.make.core.RequestContext.empty, org.make.api.proposal.RefuseProposalRequest.apply(false, proposal.refusalReason)).map[org.make.core.proposal.Proposal](((x$12: Option[org.make.api.proposal.ModerationProposalResponse]) => proposal))(DefaultFixturesService.this.executionContext)
case org.make.core.proposal.ProposalStatus.Archived => scala.concurrent.Future.successful[org.make.core.proposal.Proposal](proposal)
})).mapAsync[org.make.core.proposal.ProposalId](16)(((proposal: org.make.core.proposal.Proposal) => {
val votes: Option[Seq[org.make.api.proposal.UpdateVoteRequest]] = proposal.votingOptions.map[Seq[org.make.api.proposal.UpdateVoteRequest]](((x$13: org.make.core.proposal.VotingOptions) => x$13.deprecatedVotesSeq.map[org.make.api.proposal.UpdateVoteRequest](((v: org.make.core.proposal.Vote) => org.make.api.proposal.UpdateVoteRequest.apply(v.key, scala.Some.apply[Int](v.count), scala.Some.apply[Int](v.countVerified), scala.Some.apply[Int](v.countSequence), scala.Some.apply[Int](v.countSegment), v.qualifications.map[org.make.api.proposal.UpdateQualificationRequest](((q: org.make.core.proposal.Qualification) => org.make.api.proposal.UpdateQualificationRequest.apply(q.key, scala.Some.apply[Int](q.count), scala.Some.apply[Int](q.countVerified), scala.Some.apply[Int](q.countSequence), scala.Some.apply[Int](q.countSegment)))))))));
proposal.status match {
case org.make.core.proposal.ProposalStatus.Accepted => cats.implicits.toFunctorOps[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]](DefaultFixturesServiceComponent.this.proposalService.updateVotes(proposal.proposalId, adminUserId, org.make.core.RequestContext.empty, proposal.updatedAt.getOrElse[java.time.ZonedDateTime](org.make.core.DateHelper.now()), votes.getOrElse[Seq[org.make.api.proposal.UpdateVoteRequest]](scala.`package`.Seq.empty[Nothing])))(cats.implicits.catsStdInstancesForFuture(DefaultFixturesService.this.executionContext)).as[org.make.core.proposal.ProposalId](proposal.proposalId)
case _ => scala.concurrent.Future.successful[org.make.core.proposal.ProposalId](proposal.proposalId)
}
})).runWith[scala.concurrent.Future[Seq[org.make.core.proposal.ProposalId]]](akka.stream.scaladsl.Sink.seq[org.make.core.proposal.ProposalId])(stream.this.Materializer.matFromSystem(DefaultFixturesServiceComponent.this.actorSystem))
|
|
317
|
45896
|
12912
-
12997
|
ApplyToImplicitArgs
|
org.make.api.technical.generator.fixtures.RichGen.value
|
|
qual$1.value(x$1, x$2)
|
|
317
|
50352
|
12969
-
12988
|
Select
|
org.make.core.question.Question.questionId
|
|
question.questionId
|
|
317
|
39364
|
12923
-
12990
|
Apply
|
org.make.core.technical.generator.EntitiesGen.genTag
|
|
org.make.api.technical.generator.EntitiesGen.genTag(question.operationId, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))
|
|
317
|
46173
|
12964
-
12989
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.question.QuestionId](question.questionId)
|
|
317
|
37572
|
12942
-
12962
|
Select
|
org.make.core.question.Question.operationId
|
|
question.operationId
|
|
317
|
36007
|
12992
-
12992
|
Select
|
org.make.api.technical.generator.fixtures.RichGen.value$default$1
|
|
qual$1.value$default$1
|
|
317
|
31766
|
12912
-
12991
|
Apply
|
org.scalacheck.Gen.listOf
|
|
org.scalacheck.Gen.listOf[org.make.core.tag.Tag](org.make.api.technical.generator.EntitiesGen.genTag(question.operationId, scala.Some.apply[org.make.core.question.QuestionId](question.questionId)))
|
|
317
|
32861
|
12992
-
12992
|
Select
|
org.make.api.technical.generator.fixtures.RichGen.value$default$2
|
|
qual$1.value$default$2
|
|
317
|
43567
|
12912
-
12991
|
ApplyImplicitView
|
org.make.api.technical.generator.fixtures.RichGen
|
|
fixtures.this.`package`.RichGen[List[org.make.core.tag.Tag]](org.scalacheck.Gen.listOf[org.make.core.tag.Tag](org.make.api.technical.generator.EntitiesGen.genTag(question.operationId, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))))
|
|
318
|
37774
|
13004
-
13053
|
Apply
|
grizzled.slf4j.Logger.info
|
|
DefaultFixturesServiceComponent.this.logger.info(("generating: ".+(tagsData.size).+(" tags"): String))
|
|
319
|
50105
|
13087
-
13094
|
Select
|
org.make.core.tag.Tag.label
|
|
x$14.label
|
|
319
|
46214
|
13067
-
13095
|
Apply
|
scala.collection.SeqOps.distinctBy
|
|
tagsData.distinctBy[String](((x$14: org.make.core.tag.Tag) => x$14.label))
|
|
320
|
39401
|
13115
-
13117
|
Literal
|
<nosymbol>
|
|
16
|
|
321
|
45932
|
13138
-
13341
|
Apply
|
org.make.api.tag.TagService.createTag
|
|
DefaultFixturesServiceComponent.this.tagService.createTag(tag.label, tag.tagTypeId, question, tag.display, tag.weight)
|
|
322
|
31524
|
13180
-
13189
|
Select
|
org.make.core.tag.Tag.label
|
|
tag.label
|
|
323
|
44308
|
13215
-
13228
|
Select
|
org.make.core.tag.Tag.tagTypeId
|
|
tag.tagTypeId
|
|
325
|
36037
|
13285
-
13296
|
Select
|
org.make.core.tag.Tag.display
|
|
tag.display
|
|
326
|
32604
|
13319
-
13329
|
Select
|
org.make.core.tag.Tag.weight
|
|
tag.weight
|
|
329
|
47006
|
13368
-
13368
|
ApplyToImplicitArgs
|
akka.stream.Materializer.matFromSystem
|
|
stream.this.Materializer.matFromSystem(DefaultFixturesServiceComponent.this.actorSystem)
|
|
329
|
39154
|
13060
-
13378
|
ApplyToImplicitArgs
|
akka.stream.scaladsl.Source.runWith
|
|
akka.stream.scaladsl.Source.apply[org.make.core.tag.Tag](tagsData.distinctBy[String](((x$14: org.make.core.tag.Tag) => x$14.label))).mapAsync[org.make.core.tag.Tag](16)(((tag: org.make.core.tag.Tag) => DefaultFixturesServiceComponent.this.tagService.createTag(tag.label, tag.tagTypeId, question, tag.display, tag.weight))).runWith[scala.concurrent.Future[Seq[org.make.core.tag.Tag]]](akka.stream.scaladsl.Sink.seq[org.make.core.tag.Tag])(stream.this.Materializer.matFromSystem(DefaultFixturesServiceComponent.this.actorSystem))
|
|
329
|
50844
|
13368
-
13368
|
Select
|
org.make.api.technical.ActorSystemComponent.actorSystem
|
|
DefaultFixturesServiceComponent.this.actorSystem
|
|
329
|
37529
|
13369
-
13377
|
TypeApply
|
akka.stream.scaladsl.Sink.seq
|
|
akka.stream.scaladsl.Sink.seq[org.make.core.tag.Tag]
|
|
333
|
32642
|
13541
-
13555
|
Select
|
scala.collection.SeqOps.size
|
|
proposals.size
|
|
333
|
36509
|
13533
-
13535
|
Block
|
<nosymbol>
|
|
50
|
|
333
|
45692
|
13541
-
13555
|
Block
|
scala.collection.SeqOps.size
|
|
proposals.size
|
|
333
|
31008
|
13510
-
13531
|
Apply
|
scala.collection.IterableOps.SizeCompareOps.>
|
|
proposals.sizeIs.>(50)
|
|
333
|
44064
|
13533
-
13535
|
Literal
|
<nosymbol>
|
|
50
|
|
334
|
37564
|
13584
-
13615
|
Apply
|
org.scalacheck.Gen.pick
|
|
org.scalacheck.Gen.pick[org.make.core.proposal.ProposalId](sampleSize, proposals)
|
|
334
|
30760
|
13584
-
13621
|
ApplyToImplicitArgs
|
org.make.api.technical.generator.fixtures.RichGen.value
|
|
qual$1.value(x$1, x$2)
|
|
334
|
42477
|
13616
-
13616
|
Select
|
org.make.api.technical.generator.fixtures.RichGen.value$default$1
|
|
qual$1.value$default$1
|
|
334
|
39196
|
13616
-
13616
|
Select
|
org.make.api.technical.generator.fixtures.RichGen.value$default$2
|
|
qual$1.value$default$2
|
|
334
|
50880
|
13584
-
13615
|
ApplyImplicitView
|
org.make.api.technical.generator.fixtures.RichGen
|
|
fixtures.this.`package`.RichGen[scala.collection.Seq[org.make.core.proposal.ProposalId]](org.scalacheck.Gen.pick[org.make.core.proposal.ProposalId](sampleSize, proposals))
|
|
337
|
31799
|
13709
-
13877
|
Apply
|
org.make.api.proposal.ProposalService.generateProposalKeyHash
|
|
DefaultFixturesServiceComponent.this.proposalService.generateProposalKeyHash(proposalId, sessionId, scala.Some.apply[String]("fixtures"), DefaultFixturesServiceComponent.this.securityConfiguration.secureVoteSalt)
|
|
340
|
44105
|
13803
-
13819
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String]("fixtures")
|
|
341
|
35996
|
13831
-
13867
|
Select
|
org.make.api.technical.security.SecurityConfiguration.secureVoteSalt
|
|
DefaultFixturesServiceComponent.this.securityConfiguration.secureVoteSalt
|
|
345
|
50131
|
13957
-
13957
|
Select
|
org.make.core.RequestContext.copy$default$13
|
|
org.make.core.RequestContext.empty.copy$default$13
|
|
345
|
44138
|
13957
-
13957
|
Select
|
org.make.core.RequestContext.copy$default$7
|
|
org.make.core.RequestContext.empty.copy$default$7
|
|
345
|
45175
|
13996
-
14012
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String]("fixtures")
|
|
345
|
37603
|
13957
-
13957
|
Select
|
org.make.core.RequestContext.copy$default$1
|
|
org.make.core.RequestContext.empty.copy$default$1
|
|
345
|
35746
|
13957
-
13957
|
Select
|
org.make.core.RequestContext.copy$default$8
|
|
org.make.core.RequestContext.empty.copy$default$8
|
|
345
|
38386
|
13957
-
13957
|
Select
|
org.make.core.RequestContext.copy$default$15
|
|
org.make.core.RequestContext.empty.copy$default$15
|
|
345
|
45683
|
13957
-
13957
|
Select
|
org.make.core.RequestContext.copy$default$20
|
|
org.make.core.RequestContext.empty.copy$default$20
|
|
345
|
42507
|
13957
-
13957
|
Select
|
org.make.core.RequestContext.copy$default$4
|
|
org.make.core.RequestContext.empty.copy$default$4
|
|
345
|
42274
|
13957
-
13957
|
Select
|
org.make.core.RequestContext.copy$default$14
|
|
org.make.core.RequestContext.empty.copy$default$14
|
|
345
|
51192
|
13936
-
14013
|
Apply
|
org.make.core.RequestContext.copy
|
|
org.make.core.RequestContext.empty.copy(x$3, x$4, x$1, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$2, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
|
|
345
|
45641
|
13957
-
13957
|
Select
|
org.make.core.RequestContext.copy$default$10
|
|
org.make.core.RequestContext.empty.copy$default$10
|
|
345
|
35781
|
13957
-
13957
|
Select
|
org.make.core.RequestContext.copy$default$18
|
|
org.make.core.RequestContext.empty.copy$default$18
|
|
345
|
38105
|
13957
-
13957
|
Select
|
org.make.core.RequestContext.copy$default$21
|
|
org.make.core.RequestContext.empty.copy$default$21
|
|
345
|
37363
|
13957
-
13957
|
Select
|
org.make.core.RequestContext.copy$default$11
|
|
org.make.core.RequestContext.empty.copy$default$11
|
|
345
|
50641
|
13957
-
13957
|
Select
|
org.make.core.RequestContext.copy$default$2
|
|
org.make.core.RequestContext.empty.copy$default$2
|
|
345
|
31839
|
13957
-
13957
|
Select
|
org.make.core.RequestContext.copy$default$9
|
|
org.make.core.RequestContext.empty.copy$default$9
|
|
345
|
43897
|
13957
-
13957
|
Select
|
org.make.core.RequestContext.copy$default$17
|
|
org.make.core.RequestContext.empty.copy$default$17
|
|
345
|
31561
|
13957
-
13957
|
Select
|
org.make.core.RequestContext.copy$default$16
|
|
org.make.core.RequestContext.empty.copy$default$16
|
|
345
|
30795
|
13957
-
13957
|
Select
|
org.make.core.RequestContext.copy$default$6
|
|
org.make.core.RequestContext.empty.copy$default$6
|
|
345
|
48807
|
13957
-
13957
|
Select
|
org.make.core.RequestContext.copy$default$19
|
|
org.make.core.RequestContext.empty.copy$default$19
|
|
345
|
38346
|
13957
-
13957
|
Select
|
org.make.core.RequestContext.copy$default$5
|
|
org.make.core.RequestContext.empty.copy$default$5
|
|
348
|
42309
|
14053
-
14055
|
Literal
|
<nosymbol>
|
|
16
|
|
349
|
31308
|
14093
-
14121
|
Apply
|
org.make.core.session.SessionId.apply
|
|
org.make.core.session.SessionId.apply(orga.userId.value)
|
|
349
|
38909
|
14103
-
14120
|
Select
|
org.make.core.user.UserId.value
|
|
orga.userId.value
|
|
351
|
36850
|
14217
-
14242
|
Apply
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.requestContext
|
|
requestContext(sessionId)
|
|
351
|
44097
|
14204
-
14215
|
Select
|
org.make.core.user.User.userId
|
|
orga.userId
|
|
352
|
48839
|
14260
-
14260
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
352
|
45721
|
14132
-
14271
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultFixturesServiceComponent.this.sessionHistoryCoordinatorService.convertSession(sessionId, orga.userId, requestContext(sessionId)).map[org.make.core.user.User](((x$15: Unit) => orga))(DefaultFixturesService.this.executionContext)
|
|
354
|
31344
|
14342
-
14342
|
Select
|
org.make.api.technical.generator.fixtures.RichGen.value$default$2
|
|
qual$2.value$default$2
|
|
354
|
43369
|
14300
-
14341
|
ApplyImplicitView
|
org.make.api.technical.generator.fixtures.RichGen
|
|
fixtures.this.`package`.RichGen[scala.collection.Seq[org.make.core.proposal.ProposalId]](org.scalacheck.Gen.pick[org.make.core.proposal.ProposalId](sampleSize./(5), proposalsSample))
|
|
354
|
50632
|
14300
-
14341
|
Apply
|
org.scalacheck.Gen.pick
|
|
org.scalacheck.Gen.pick[org.make.core.proposal.ProposalId](sampleSize./(5), proposalsSample)
|
|
354
|
35242
|
14342
-
14342
|
Select
|
org.make.api.technical.generator.fixtures.RichGen.value$default$1
|
|
qual$2.value$default$1
|
|
354
|
43851
|
14300
-
14347
|
ApplyToImplicitArgs
|
org.make.api.technical.generator.fixtures.RichGen.value
|
|
qual$2.value(x$3, x$4)
|
|
354
|
36291
|
14295
-
14347
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[org.make.core.user.User](x$16).->[scala.collection.Seq[org.make.core.proposal.ProposalId]]({
<artifact> val qual$2: org.make.api.technical.generator.fixtures.RichGen[scala.collection.Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = fixtures.this.`package`.RichGen[scala.collection.Seq[org.make.core.proposal.ProposalId]](org.scalacheck.Gen.pick[org.make.core.proposal.ProposalId](sampleSize./(5), proposalsSample));
<artifact> val x$3: org.scalacheck.Gen.Parameters = qual$2.value$default$1;
<artifact> val x$4: org.scalacheck.rng.Seed = qual$2.value$default$2;
qual$2.value(x$3, x$4)
})
|
|
354
|
37852
|
14309
-
14323
|
Apply
|
scala.Int./
|
|
sampleSize./(5)
|
|
355
|
49630
|
14367
-
14369
|
Literal
|
<nosymbol>
|
|
16
|
|
357
|
37355
|
14434
-
14462
|
Apply
|
org.make.core.session.SessionId.apply
|
|
org.make.core.session.SessionId.apply(orga.userId.value)
|
|
357
|
45470
|
14444
-
14461
|
Select
|
org.make.core.user.UserId.value
|
|
orga.userId.value
|
|
358
|
50384
|
14482
-
14494
|
Select
|
scala.collection.IterableOnceOps.toSeq
|
|
sample.toSeq
|
|
359
|
42794
|
14520
-
14521
|
Literal
|
<nosymbol>
|
|
1
|
|
360
|
49886
|
14555
-
14945
|
Apply
|
org.make.api.proposal.ProposalService.voteProposal
|
|
DefaultFixturesServiceComponent.this.proposalService.voteProposal(proposalId, scala.Some.apply[org.make.core.user.UserId](orga.userId), requestContext(sessionId), {
<artifact> val qual$3: org.make.api.technical.generator.fixtures.RichGen[org.make.core.proposal.VoteKey] @scala.reflect.internal.annotations.uncheckedBounds = fixtures.this.`package`.RichGen[org.make.core.proposal.VoteKey](org.scalacheck.Gen.frequency[org.make.core.proposal.VoteKey](scalacheck.this.Gen.freqTuple[org.make.core.proposal.VoteKey.Agree.type](scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Agree.type](6, org.make.core.proposal.VoteKey.Agree)), scalacheck.this.Gen.freqTuple[org.make.core.proposal.VoteKey.Disagree.type](scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Disagree.type](3, org.make.core.proposal.VoteKey.Disagree)), scalacheck.this.Gen.freqTuple[org.make.core.proposal.VoteKey.Neutral.type](scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Neutral.type](1, org.make.core.proposal.VoteKey.Neutral))));
<artifact> val x$5: org.scalacheck.Gen.Parameters = qual$3.value$default$1;
<artifact> val x$6: org.scalacheck.rng.Seed = qual$3.value$default$2;
qual$3.value(x$5, x$6)
}, scala.Some.apply[String](proposalKey(proposalId, sessionId)))
|
|
362
|
31091
|
14660
-
14677
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.user.UserId](orga.userId)
|
|
362
|
35281
|
14665
-
14676
|
Select
|
org.make.core.user.User.userId
|
|
orga.userId
|
|
363
|
43888
|
14714
-
14739
|
Apply
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.requestContext
|
|
requestContext(sessionId)
|
|
364
|
48830
|
14826
-
14846
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Neutral.type](1, org.make.core.proposal.VoteKey.Neutral)
|
|
364
|
43357
|
14848
-
14848
|
Select
|
org.make.api.technical.generator.fixtures.RichGen.value$default$1
|
|
qual$3.value$default$1
|
|
364
|
43638
|
14827
-
14828
|
Literal
|
<nosymbol>
|
|
1
|
|
364
|
36039
|
14784
-
14785
|
Literal
|
<nosymbol>
|
|
6
|
|
364
|
45510
|
14783
-
14801
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Agree.type](6, org.make.core.proposal.VoteKey.Agree)
|
|
364
|
31044
|
14769
-
14853
|
ApplyToImplicitArgs
|
org.make.api.technical.generator.fixtures.RichGen.value
|
|
qual$3.value(x$5, x$6)
|
|
364
|
48793
|
14787
-
14800
|
Select
|
org.make.core.proposal.VoteKey.Agree
|
|
org.make.core.proposal.VoteKey.Agree
|
|
364
|
34474
|
14848
-
14848
|
Select
|
org.make.api.technical.generator.fixtures.RichGen.value$default$2
|
|
qual$3.value$default$2
|
|
364
|
50462
|
14769
-
14847
|
ApplyImplicitView
|
org.make.api.technical.generator.fixtures.RichGen
|
|
fixtures.this.`package`.RichGen[org.make.core.proposal.VoteKey](org.scalacheck.Gen.frequency[org.make.core.proposal.VoteKey](scalacheck.this.Gen.freqTuple[org.make.core.proposal.VoteKey.Agree.type](scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Agree.type](6, org.make.core.proposal.VoteKey.Agree)), scalacheck.this.Gen.freqTuple[org.make.core.proposal.VoteKey.Disagree.type](scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Disagree.type](3, org.make.core.proposal.VoteKey.Disagree)), scalacheck.this.Gen.freqTuple[org.make.core.proposal.VoteKey.Neutral.type](scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Neutral.type](1, org.make.core.proposal.VoteKey.Neutral))))
|
|
364
|
50420
|
14804
-
14805
|
Literal
|
<nosymbol>
|
|
3
|
|
364
|
42300
|
14807
-
14823
|
Select
|
org.make.core.proposal.VoteKey.Disagree
|
|
org.make.core.proposal.VoteKey.Disagree
|
|
364
|
37111
|
14783
-
14801
|
ApplyImplicitView
|
org.scalacheck.Gen.freqTuple
|
|
scalacheck.this.Gen.freqTuple[org.make.core.proposal.VoteKey.Agree.type](scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Agree.type](6, org.make.core.proposal.VoteKey.Agree))
|
|
364
|
37150
|
14769
-
14847
|
Apply
|
org.scalacheck.Gen.frequency
|
|
org.scalacheck.Gen.frequency[org.make.core.proposal.VoteKey](scalacheck.this.Gen.freqTuple[org.make.core.proposal.VoteKey.Agree.type](scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Agree.type](6, org.make.core.proposal.VoteKey.Agree)), scalacheck.this.Gen.freqTuple[org.make.core.proposal.VoteKey.Disagree.type](scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Disagree.type](3, org.make.core.proposal.VoteKey.Disagree)), scalacheck.this.Gen.freqTuple[org.make.core.proposal.VoteKey.Neutral.type](scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Neutral.type](1, org.make.core.proposal.VoteKey.Neutral)))
|
|
364
|
40972
|
14826
-
14846
|
ApplyImplicitView
|
org.scalacheck.Gen.freqTuple
|
|
scalacheck.this.Gen.freqTuple[org.make.core.proposal.VoteKey.Neutral.type](scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Neutral.type](1, org.make.core.proposal.VoteKey.Neutral))
|
|
364
|
34443
|
14803
-
14824
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Disagree.type](3, org.make.core.proposal.VoteKey.Disagree)
|
|
364
|
36076
|
14830
-
14845
|
Select
|
org.make.core.proposal.VoteKey.Neutral
|
|
org.make.core.proposal.VoteKey.Neutral
|
|
364
|
30579
|
14803
-
14824
|
ApplyImplicitView
|
org.scalacheck.Gen.freqTuple
|
|
scalacheck.this.Gen.freqTuple[org.make.core.proposal.VoteKey.Disagree.type](scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Disagree.type](3, org.make.core.proposal.VoteKey.Disagree))
|
|
365
|
36873
|
14887
-
14927
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](proposalKey(proposalId, sessionId))
|
|
365
|
43673
|
14892
-
14926
|
Apply
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.proposalKey
|
|
proposalKey(proposalId, sessionId)
|
|
368
|
41767
|
14985
-
14993
|
TypeApply
|
akka.stream.scaladsl.Sink.seq
|
|
akka.stream.scaladsl.Sink.seq[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]]
|
|
368
|
37604
|
14984
-
14984
|
Select
|
org.make.api.technical.ActorSystemComponent.actorSystem
|
|
DefaultFixturesServiceComponent.this.actorSystem
|
|
368
|
50215
|
14984
-
14984
|
ApplyToImplicitArgs
|
akka.stream.Materializer.matFromSystem
|
|
stream.this.Materializer.matFromSystem(DefaultFixturesServiceComponent.this.actorSystem)
|
|
369
|
35538
|
15013
-
15013
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
369
|
31085
|
14475
-
15021
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
akka.stream.scaladsl.Source.apply[org.make.core.proposal.ProposalId](sample.toSeq).mapAsync[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](1)(((proposalId: org.make.core.proposal.ProposalId) => DefaultFixturesServiceComponent.this.proposalService.voteProposal(proposalId, scala.Some.apply[org.make.core.user.UserId](orga.userId), requestContext(sessionId), {
<artifact> val qual$3: org.make.api.technical.generator.fixtures.RichGen[org.make.core.proposal.VoteKey] @scala.reflect.internal.annotations.uncheckedBounds = fixtures.this.`package`.RichGen[org.make.core.proposal.VoteKey](org.scalacheck.Gen.frequency[org.make.core.proposal.VoteKey](scalacheck.this.Gen.freqTuple[org.make.core.proposal.VoteKey.Agree.type](scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Agree.type](6, org.make.core.proposal.VoteKey.Agree)), scalacheck.this.Gen.freqTuple[org.make.core.proposal.VoteKey.Disagree.type](scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Disagree.type](3, org.make.core.proposal.VoteKey.Disagree)), scalacheck.this.Gen.freqTuple[org.make.core.proposal.VoteKey.Neutral.type](scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Neutral.type](1, org.make.core.proposal.VoteKey.Neutral))));
<artifact> val x$5: org.scalacheck.Gen.Parameters = qual$3.value$default$1;
<artifact> val x$6: org.scalacheck.rng.Seed = qual$3.value$default$2;
qual$3.value(x$5, x$6)
}, scala.Some.apply[String](proposalKey(proposalId, sessionId))))).runWith[scala.concurrent.Future[Seq[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]]]](akka.stream.scaladsl.Sink.seq[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]])(stream.this.Materializer.matFromSystem(DefaultFixturesServiceComponent.this.actorSystem)).map[Int](((x$17: Seq[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]]) => x$17.size))(DefaultFixturesService.this.executionContext)
|
|
369
|
43391
|
15014
-
15020
|
Select
|
scala.collection.SeqOps.size
|
|
x$17.size
|
|
371
|
49927
|
15048
-
15048
|
ApplyToImplicitArgs
|
akka.stream.Materializer.matFromSystem
|
|
stream.this.Materializer.matFromSystem(DefaultFixturesServiceComponent.this.actorSystem)
|
|
371
|
36639
|
15048
-
15048
|
Select
|
org.make.api.technical.ActorSystemComponent.actorSystem
|
|
DefaultFixturesServiceComponent.this.actorSystem
|
|
371
|
44417
|
15049
-
15057
|
TypeApply
|
akka.stream.scaladsl.Sink.seq
|
|
akka.stream.scaladsl.Sink.seq[Int]
|
|
372
|
41526
|
15074
-
15074
|
Select
|
scala.math.Numeric.IntIsIntegral
|
|
math.this.Numeric.IntIsIntegral
|
|
372
|
50416
|
15071
-
15071
|
Select
|
org.make.api.technical.generator.fixtures.DefaultFixturesServiceComponent.DefaultFixturesService.executionContext
|
|
DefaultFixturesService.this.executionContext
|
|
372
|
37643
|
15072
-
15077
|
ApplyToImplicitArgs
|
scala.collection.IterableOnceOps.sum
|
|
x$18.sum[Int](math.this.Numeric.IntIsIntegral)
|
|
372
|
43154
|
14021
-
15078
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
akka.stream.scaladsl.Source.apply[org.make.core.user.User](orgas).mapAsync[org.make.core.user.User](16)(((orga: org.make.core.user.User) => {
val sessionId: org.make.core.session.SessionId = org.make.core.session.SessionId.apply(orga.userId.value);
DefaultFixturesServiceComponent.this.sessionHistoryCoordinatorService.convertSession(sessionId, orga.userId, requestContext(sessionId)).map[org.make.core.user.User](((x$15: Unit) => orga))(DefaultFixturesService.this.executionContext)
})).map[(org.make.core.user.User, scala.collection.Seq[org.make.core.proposal.ProposalId])](((x$16: org.make.core.user.User) => scala.Predef.ArrowAssoc[org.make.core.user.User](x$16).->[scala.collection.Seq[org.make.core.proposal.ProposalId]]({
<artifact> val qual$2: org.make.api.technical.generator.fixtures.RichGen[scala.collection.Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = fixtures.this.`package`.RichGen[scala.collection.Seq[org.make.core.proposal.ProposalId]](org.scalacheck.Gen.pick[org.make.core.proposal.ProposalId](sampleSize./(5), proposalsSample));
<artifact> val x$3: org.scalacheck.Gen.Parameters = qual$2.value$default$1;
<artifact> val x$4: org.scalacheck.rng.Seed = qual$2.value$default$2;
qual$2.value(x$3, x$4)
}))).mapAsync[Int](16)(((x0$1: (org.make.core.user.User, scala.collection.Seq[org.make.core.proposal.ProposalId])) => x0$1 match {
case (_1: org.make.core.user.User, _2: scala.collection.Seq[org.make.core.proposal.ProposalId]): (org.make.core.user.User, scala.collection.Seq[org.make.core.proposal.ProposalId])((orga @ _), (sample @ _)) => {
val sessionId: org.make.core.session.SessionId = org.make.core.session.SessionId.apply(orga.userId.value);
akka.stream.scaladsl.Source.apply[org.make.core.proposal.ProposalId](sample.toSeq).mapAsync[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]](1)(((proposalId: org.make.core.proposal.ProposalId) => DefaultFixturesServiceComponent.this.proposalService.voteProposal(proposalId, scala.Some.apply[org.make.core.user.UserId](orga.userId), requestContext(sessionId), {
<artifact> val qual$3: org.make.api.technical.generator.fixtures.RichGen[org.make.core.proposal.VoteKey] @scala.reflect.internal.annotations.uncheckedBounds = fixtures.this.`package`.RichGen[org.make.core.proposal.VoteKey](org.scalacheck.Gen.frequency[org.make.core.proposal.VoteKey](scalacheck.this.Gen.freqTuple[org.make.core.proposal.VoteKey.Agree.type](scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Agree.type](6, org.make.core.proposal.VoteKey.Agree)), scalacheck.this.Gen.freqTuple[org.make.core.proposal.VoteKey.Disagree.type](scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Disagree.type](3, org.make.core.proposal.VoteKey.Disagree)), scalacheck.this.Gen.freqTuple[org.make.core.proposal.VoteKey.Neutral.type](scala.Tuple2.apply[Int, org.make.core.proposal.VoteKey.Neutral.type](1, org.make.core.proposal.VoteKey.Neutral))));
<artifact> val x$5: org.scalacheck.Gen.Parameters = qual$3.value$default$1;
<artifact> val x$6: org.scalacheck.rng.Seed = qual$3.value$default$2;
qual$3.value(x$5, x$6)
}, scala.Some.apply[String](proposalKey(proposalId, sessionId))))).runWith[scala.concurrent.Future[Seq[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]]]](akka.stream.scaladsl.Sink.seq[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]])(stream.this.Materializer.matFromSystem(DefaultFixturesServiceComponent.this.actorSystem)).map[Int](((x$17: Seq[Option[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]]) => x$17.size))(DefaultFixturesService.this.executionContext)
}
})).runWith[scala.concurrent.Future[Seq[Int]]](akka.stream.scaladsl.Sink.seq[Int])(stream.this.Materializer.matFromSystem(DefaultFixturesServiceComponent.this.actorSystem)).map[Int](((x$18: Seq[Int]) => x$18.sum[Int](math.this.Numeric.IntIsIntegral)))(DefaultFixturesService.this.executionContext)
|