| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
161
|
34302
|
5130
-
5137
|
Select
|
org.make.api.widget.AdminSourceApi.getById
|
org.make.api.widget.adminsourceapitest
|
AdminSourceApi.this.getById
|
|
161
|
40836
|
5123
-
5155
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.widget.adminsourceapitest
|
AdminSourceApi.this._enhanceRouteWithConcatenation(AdminSourceApi.this._enhanceRouteWithConcatenation(AdminSourceApi.this._enhanceRouteWithConcatenation(AdminSourceApi.this.list).~(AdminSourceApi.this.getById)).~(AdminSourceApi.this.create)).~(AdminSourceApi.this.update)
|
|
161
|
41134
|
5123
-
5127
|
Select
|
org.make.api.widget.AdminSourceApi.list
|
org.make.api.widget.adminsourceapitest
|
AdminSourceApi.this.list
|
|
161
|
48419
|
5149
-
5155
|
Select
|
org.make.api.widget.AdminSourceApi.update
|
org.make.api.widget.adminsourceapitest
|
AdminSourceApi.this.update
|
|
161
|
39198
|
5140
-
5146
|
Select
|
org.make.api.widget.AdminSourceApi.create
|
org.make.api.widget.adminsourceapitest
|
AdminSourceApi.this.create
|
|
161
|
47318
|
5123
-
5137
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.widget.adminsourceapitest
|
AdminSourceApi.this._enhanceRouteWithConcatenation(AdminSourceApi.this.list).~(AdminSourceApi.this.getById)
|
|
161
|
35343
|
5123
-
5146
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.widget.adminsourceapitest
|
AdminSourceApi.this._enhanceRouteWithConcatenation(AdminSourceApi.this._enhanceRouteWithConcatenation(AdminSourceApi.this.list).~(AdminSourceApi.this.getById)).~(AdminSourceApi.this.create)
|
|
179
|
34481
|
5563
-
5566
|
Apply
|
org.make.api.widget.DefaultAdminSourceApiComponent.$anon.<init>
|
org.make.api.widget.adminsourceapitest
|
new $anon()
|
|
181
|
32683
|
5630
-
5637
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.widget.adminsourceapitest
|
$anon.this.Segment
|
|
181
|
45730
|
5642
-
5656
|
Apply
|
org.make.core.widget.SourceId.apply
|
org.make.api.widget.adminsourceapitest
|
org.make.core.widget.SourceId.apply(value)
|
|
181
|
41330
|
5630
-
5657
|
Apply
|
akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map
|
org.make.api.widget.adminsourceapitest
|
server.this.PathMatcher.PathMatcher1Ops[String]($anon.this.Segment).map[org.make.core.widget.SourceId](((value: String) => org.make.core.widget.SourceId.apply(value)))
|
|
183
|
44776
|
5690
-
6880
|
Apply
|
scala.Function1.apply
|
org.make.api.widget.adminsourceapitest
|
server.this.Directive.addByNameNullaryApply($anon.this.get).apply(server.this.Directive.addByNameNullaryApply($anon.this.path[Unit]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("sources"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[String], Option[String])]($anon.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset]($anon.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminSourceApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End]($anon.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminSourceApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String]($anon.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order]($anon.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminSourceApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[String]($anon.this._string2NR("name").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String]($anon.this._string2NR("source").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))))(util.this.ApplyConverter.hac6[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[String], Option[String]]).apply(((offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[String], order: Option[org.make.core.Order], name: Option[String], source: Option[String]) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminSourceApiComponent.this.makeOperation("AdminSourcesList", DefaultAdminSourceApiComponent.this.makeOperation$default$2, DefaultAdminSourceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminSourceApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[((Seq[org.make.core.widget.Source], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.widget.Source], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.widget.Source]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.list(offset, end, sort, order, name, source)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminSourceApiComponent.this.sourceService.count(name, source)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.widget.Source], Int)]).apply(((x0$1: (Seq[org.make.core.widget.Source], Int)) => x0$1 match {
case (_1: Seq[org.make.core.widget.Source], _2: Int): (Seq[org.make.core.widget.Source], Int)((sources @ _), (count @ _)) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.widget.AdminSourceResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.widget.AdminSourceResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), sources.map[org.make.api.widget.AdminSourceResponse](((source: org.make.core.widget.Source) => AdminSourceResponse.apply(source)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.widget.AdminSourceResponse]](DefaultAdminSourceApiComponent.this.marshaller[Seq[org.make.api.widget.AdminSourceResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec), DefaultAdminSourceApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminSourceResponse]]))))
})))))))))))
|
|
183
|
34069
|
5690
-
5693
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.widget.adminsourceapitest
|
$anon.this.get
|
|
184
|
35088
|
5715
-
5715
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.widget.adminsourceapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
184
|
39236
|
5717
-
5726
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.widget.adminsourceapitest
|
$anon.this._segmentStringToPathMatcher("sources")
|
|
184
|
31128
|
5702
-
6874
|
Apply
|
scala.Function1.apply
|
org.make.api.widget.adminsourceapitest
|
server.this.Directive.addByNameNullaryApply($anon.this.path[Unit]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("sources"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[String], Option[String])]($anon.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset]($anon.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminSourceApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End]($anon.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminSourceApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String]($anon.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order]($anon.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminSourceApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[String]($anon.this._string2NR("name").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String]($anon.this._string2NR("source").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))))(util.this.ApplyConverter.hac6[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[String], Option[String]]).apply(((offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[String], order: Option[org.make.core.Order], name: Option[String], source: Option[String]) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminSourceApiComponent.this.makeOperation("AdminSourcesList", DefaultAdminSourceApiComponent.this.makeOperation$default$2, DefaultAdminSourceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminSourceApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[((Seq[org.make.core.widget.Source], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.widget.Source], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.widget.Source]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.list(offset, end, sort, order, name, source)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminSourceApiComponent.this.sourceService.count(name, source)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.widget.Source], Int)]).apply(((x0$1: (Seq[org.make.core.widget.Source], Int)) => x0$1 match {
case (_1: Seq[org.make.core.widget.Source], _2: Int): (Seq[org.make.core.widget.Source], Int)((sources @ _), (count @ _)) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.widget.AdminSourceResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.widget.AdminSourceResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), sources.map[org.make.api.widget.AdminSourceResponse](((source: org.make.core.widget.Source) => AdminSourceResponse.apply(source)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.widget.AdminSourceResponse]](DefaultAdminSourceApiComponent.this.marshaller[Seq[org.make.api.widget.AdminSourceResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec), DefaultAdminSourceApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminSourceResponse]]))))
}))))))))))
|
|
184
|
40590
|
5702
-
5727
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.widget.adminsourceapitest
|
$anon.this.path[Unit]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("sources"))(TupleOps.this.Join.join0P[Unit]))
|
|
184
|
46798
|
5707
-
5714
|
Literal
|
<nosymbol>
|
org.make.api.widget.adminsourceapitest
|
"admin"
|
|
184
|
47862
|
5707
-
5726
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.widget.adminsourceapitest
|
$anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("sources"))(TupleOps.this.Join.join0P[Unit])
|
|
185
|
34099
|
5738
-
5936
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
org.make.api.widget.adminsourceapitest
|
$anon.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset]($anon.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminSourceApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End]($anon.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminSourceApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String]($anon.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order]($anon.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminSourceApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[String]($anon.this._string2NR("name").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String]($anon.this._string2NR("source").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])))
|
|
185
|
47090
|
5748
-
5748
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac6
|
org.make.api.widget.adminsourceapitest
|
util.this.ApplyConverter.hac6[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[String], Option[String]]
|
|
186
|
46835
|
5760
-
5792
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.widget.adminsourceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset]($anon.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminSourceApiComponent.this.startFromIntUnmarshaller))
|
|
186
|
45767
|
5760
-
5792
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.widget.adminsourceapitest
|
$anon.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?
|
|
186
|
41086
|
5791
-
5791
|
Select
|
org.make.core.ParameterExtractors.startFromIntUnmarshaller
|
org.make.api.widget.adminsourceapitest
|
DefaultAdminSourceApiComponent.this.startFromIntUnmarshaller
|
|
186
|
33495
|
5791
-
5791
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.widget.adminsourceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminSourceApiComponent.this.startFromIntUnmarshaller)
|
|
186
|
32442
|
5760
-
5768
|
Literal
|
<nosymbol>
|
org.make.api.widget.adminsourceapitest
|
"_start"
|
|
187
|
47606
|
5830
-
5830
|
Select
|
org.make.core.ParameterExtractors.endFromIntUnmarshaller
|
org.make.api.widget.adminsourceapitest
|
DefaultAdminSourceApiComponent.this.endFromIntUnmarshaller
|
|
187
|
40793
|
5830
-
5830
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.widget.adminsourceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminSourceApiComponent.this.endFromIntUnmarshaller)
|
|
187
|
30837
|
5804
-
5831
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.widget.adminsourceapitest
|
$anon.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?
|
|
187
|
38995
|
5804
-
5810
|
Literal
|
<nosymbol>
|
org.make.api.widget.adminsourceapitest
|
"_end"
|
|
187
|
32481
|
5804
-
5831
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.widget.adminsourceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End]($anon.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminSourceApiComponent.this.endFromIntUnmarshaller))
|
|
188
|
39030
|
5843
-
5852
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.widget.adminsourceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String]($anon.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
188
|
33536
|
5851
-
5851
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.widget.adminsourceapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
188
|
41126
|
5843
-
5852
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.widget.adminsourceapitest
|
$anon.this._string2NR("_sort").?
|
|
188
|
47306
|
5851
-
5851
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.widget.adminsourceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
188
|
45523
|
5843
-
5850
|
Literal
|
<nosymbol>
|
org.make.api.widget.adminsourceapitest
|
"_sort"
|
|
189
|
45723
|
5864
-
5884
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.widget.adminsourceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order]($anon.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminSourceApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))
|
|
189
|
47645
|
5864
-
5884
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.widget.adminsourceapitest
|
$anon.this._string2NR("_order").as[org.make.core.Order].?
|
|
189
|
30595
|
5864
-
5872
|
Literal
|
<nosymbol>
|
org.make.api.widget.adminsourceapitest
|
"_order"
|
|
189
|
32945
|
5883
-
5883
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.widget.adminsourceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminSourceApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))
|
|
189
|
40831
|
5883
-
5883
|
ApplyToImplicitArgs
|
org.make.core.ParameterExtractors.enumeratumEnumUnmarshaller
|
org.make.api.widget.adminsourceapitest
|
DefaultAdminSourceApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))
|
|
190
|
42175
|
5896
-
5902
|
Literal
|
<nosymbol>
|
org.make.api.widget.adminsourceapitest
|
"name"
|
|
190
|
47346
|
5903
-
5903
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.widget.adminsourceapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
190
|
33281
|
5896
-
5904
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.widget.adminsourceapitest
|
$anon.this._string2NR("name").?
|
|
190
|
31345
|
5896
-
5904
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.widget.adminsourceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String]($anon.this._string2NR("name").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
190
|
39482
|
5903
-
5903
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.widget.adminsourceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
191
|
45472
|
5925
-
5925
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.widget.adminsourceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
191
|
32986
|
5925
-
5925
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.widget.adminsourceapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
191
|
40578
|
5916
-
5926
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.widget.adminsourceapitest
|
$anon.this._string2NR("source").?
|
|
191
|
47686
|
5916
-
5924
|
Literal
|
<nosymbol>
|
org.make.api.widget.adminsourceapitest
|
"source"
|
|
191
|
37894
|
5916
-
5926
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.widget.adminsourceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String]($anon.this._string2NR("source").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
192
|
39277
|
5738
-
6866
|
Apply
|
scala.Function1.apply
|
org.make.api.widget.adminsourceapitest
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[String], Option[String])]($anon.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset]($anon.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminSourceApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End]($anon.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminSourceApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String]($anon.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order]($anon.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminSourceApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[String]($anon.this._string2NR("name").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String]($anon.this._string2NR("source").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))))(util.this.ApplyConverter.hac6[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[String], Option[String]]).apply(((offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[String], order: Option[org.make.core.Order], name: Option[String], source: Option[String]) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminSourceApiComponent.this.makeOperation("AdminSourcesList", DefaultAdminSourceApiComponent.this.makeOperation$default$2, DefaultAdminSourceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminSourceApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[((Seq[org.make.core.widget.Source], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.widget.Source], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.widget.Source]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.list(offset, end, sort, order, name, source)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminSourceApiComponent.this.sourceService.count(name, source)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.widget.Source], Int)]).apply(((x0$1: (Seq[org.make.core.widget.Source], Int)) => x0$1 match {
case (_1: Seq[org.make.core.widget.Source], _2: Int): (Seq[org.make.core.widget.Source], Int)((sources @ _), (count @ _)) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.widget.AdminSourceResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.widget.AdminSourceResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), sources.map[org.make.api.widget.AdminSourceResponse](((source: org.make.core.widget.Source) => AdminSourceResponse.apply(source)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.widget.AdminSourceResponse]](DefaultAdminSourceApiComponent.this.marshaller[Seq[org.make.api.widget.AdminSourceResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec), DefaultAdminSourceApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminSourceResponse]]))))
})))))))))
|
|
201
|
32734
|
6216
-
6216
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.widget.adminsourceapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
201
|
46834
|
6203
-
6856
|
Apply
|
scala.Function1.apply
|
org.make.api.widget.adminsourceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminSourceApiComponent.this.makeOperation("AdminSourcesList", DefaultAdminSourceApiComponent.this.makeOperation$default$2, DefaultAdminSourceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminSourceApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[((Seq[org.make.core.widget.Source], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.widget.Source], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.widget.Source]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.list(offset, end, sort, order, name, source)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminSourceApiComponent.this.sourceService.count(name, source)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.widget.Source], Int)]).apply(((x0$1: (Seq[org.make.core.widget.Source], Int)) => x0$1 match {
case (_1: Seq[org.make.core.widget.Source], _2: Int): (Seq[org.make.core.widget.Source], Int)((sources @ _), (count @ _)) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.widget.AdminSourceResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.widget.AdminSourceResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), sources.map[org.make.api.widget.AdminSourceResponse](((source: org.make.core.widget.Source) => AdminSourceResponse.apply(source)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.widget.AdminSourceResponse]](DefaultAdminSourceApiComponent.this.marshaller[Seq[org.make.api.widget.AdminSourceResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec), DefaultAdminSourceApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminSourceResponse]]))))
})))))))
|
|
201
|
38986
|
6217
-
6235
|
Literal
|
<nosymbol>
|
org.make.api.widget.adminsourceapitest
|
"AdminSourcesList"
|
|
201
|
31094
|
6203
-
6203
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.widget.adminsourceapitest
|
DefaultAdminSourceApiComponent.this.makeOperation$default$2
|
|
201
|
40616
|
6203
-
6236
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.widget.adminsourceapitest
|
DefaultAdminSourceApiComponent.this.makeOperation("AdminSourcesList", DefaultAdminSourceApiComponent.this.makeOperation$default$2, DefaultAdminSourceApiComponent.this.makeOperation$default$3)
|
|
201
|
48158
|
6203
-
6203
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.widget.adminsourceapitest
|
DefaultAdminSourceApiComponent.this.makeOperation$default$3
|
|
202
|
45513
|
6258
-
6268
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.widget.adminsourceapitest
|
DefaultAdminSourceApiComponent.this.makeOAuth2
|
|
202
|
50258
|
6258
-
6842
|
Apply
|
scala.Function1.apply
|
org.make.api.widget.adminsourceapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminSourceApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[((Seq[org.make.core.widget.Source], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.widget.Source], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.widget.Source]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.list(offset, end, sort, order, name, source)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminSourceApiComponent.this.sourceService.count(name, source)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.widget.Source], Int)]).apply(((x0$1: (Seq[org.make.core.widget.Source], Int)) => x0$1 match {
case (_1: Seq[org.make.core.widget.Source], _2: Int): (Seq[org.make.core.widget.Source], Int)((sources @ _), (count @ _)) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.widget.AdminSourceResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.widget.AdminSourceResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), sources.map[org.make.api.widget.AdminSourceResponse](((source: org.make.core.widget.Source) => AdminSourceResponse.apply(source)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.widget.AdminSourceResponse]](DefaultAdminSourceApiComponent.this.marshaller[Seq[org.make.api.widget.AdminSourceResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec), DefaultAdminSourceApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminSourceResponse]]))))
})))))
|
|
202
|
37933
|
6258
-
6258
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.widget.adminsourceapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
203
|
33234
|
6338
-
6351
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
203
|
47128
|
6321
-
6352
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)
|
|
203
|
38250
|
6321
-
6826
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[((Seq[org.make.core.widget.Source], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.widget.Source], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.widget.Source]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.list(offset, end, sort, order, name, source)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminSourceApiComponent.this.sourceService.count(name, source)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.widget.Source], Int)]).apply(((x0$1: (Seq[org.make.core.widget.Source], Int)) => x0$1 match {
case (_1: Seq[org.make.core.widget.Source], _2: Int): (Seq[org.make.core.widget.Source], Int)((sources @ _), (count @ _)) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.widget.AdminSourceResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.widget.AdminSourceResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), sources.map[org.make.api.widget.AdminSourceResponse](((source: org.make.core.widget.Source) => AdminSourceResponse.apply(source)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.widget.AdminSourceResponse]](DefaultAdminSourceApiComponent.this.marshaller[Seq[org.make.api.widget.AdminSourceResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec), DefaultAdminSourceApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminSourceResponse]]))))
})))
|
|
204
|
32229
|
6373
-
6552
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.widget.Source]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.list(offset, end, sort, order, name, source)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminSourceApiComponent.this.sourceService.count(name, source)).asDirective)
|
|
205
|
31134
|
6395
-
6465
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.list(offset, end, sort, order, name, source)).asDirective
|
|
205
|
38741
|
6395
-
6453
|
Apply
|
org.make.api.widget.SourceService.list
|
|
DefaultAdminSourceApiComponent.this.sourceService.list(offset, end, sort, order, name, source)
|
|
206
|
39773
|
6487
-
6532
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminSourceApiComponent.this.sourceService.count(name, source)).asDirective
|
|
206
|
47641
|
6487
-
6520
|
Apply
|
org.make.api.widget.SourceService.count
|
|
DefaultAdminSourceApiComponent.this.sourceService.count(name, source)
|
|
207
|
46299
|
6553
-
6553
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[(Seq[org.make.core.widget.Source], Int)]
|
|
207
|
37691
|
6553
-
6553
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
207
|
33277
|
6373
-
6559
|
ApplyToImplicitArgs
|
cats.syntax.Tuple2SemigroupalOps.tupled
|
|
cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.widget.Source], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.widget.Source]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.list(offset, end, sort, order, name, source)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminSourceApiComponent.this.sourceService.count(name, source)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
|
|
207
|
45553
|
6553
-
6553
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
207
|
46052
|
6373
-
6808
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[((Seq[org.make.core.widget.Source], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.widget.Source], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.widget.Source]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.list(offset, end, sort, order, name, source)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminSourceApiComponent.this.sourceService.count(name, source)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.widget.Source], Int)]).apply(((x0$1: (Seq[org.make.core.widget.Source], Int)) => x0$1 match {
case (_1: Seq[org.make.core.widget.Source], _2: Int): (Seq[org.make.core.widget.Source], Int)((sources @ _), (count @ _)) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.widget.AdminSourceResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.widget.AdminSourceResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), sources.map[org.make.api.widget.AdminSourceResponse](((source: org.make.core.widget.Source) => AdminSourceResponse.apply(source)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.widget.AdminSourceResponse]](DefaultAdminSourceApiComponent.this.marshaller[Seq[org.make.api.widget.AdminSourceResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec), DefaultAdminSourceApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminSourceResponse]]))))
}))
|
|
209
|
32724
|
6635
-
6788
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
$anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.widget.AdminSourceResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.widget.AdminSourceResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), sources.map[org.make.api.widget.AdminSourceResponse](((source: org.make.core.widget.Source) => AdminSourceResponse.apply(source)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.widget.AdminSourceResponse]](DefaultAdminSourceApiComponent.this.marshaller[Seq[org.make.api.widget.AdminSourceResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec), DefaultAdminSourceApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminSourceResponse]]))))
|
|
210
|
47086
|
6669
-
6669
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec)
|
|
210
|
39523
|
6669
-
6669
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminSourceApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminSourceResponse]]
|
|
210
|
43713
|
6669
-
6669
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndHeadersAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.widget.AdminSourceResponse]](DefaultAdminSourceApiComponent.this.marshaller[Seq[org.make.api.widget.AdminSourceResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec), DefaultAdminSourceApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminSourceResponse]]))
|
|
210
|
45300
|
6725
-
6763
|
Apply
|
scala.collection.IterableOps.map
|
|
sources.map[org.make.api.widget.AdminSourceResponse](((source: org.make.core.widget.Source) => AdminSourceResponse.apply(source)))
|
|
210
|
40877
|
6669
-
6764
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.widget.AdminSourceResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.widget.AdminSourceResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), sources.map[org.make.api.widget.AdminSourceResponse](((source: org.make.core.widget.Source) => AdminSourceResponse.apply(source)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.widget.AdminSourceResponse]](DefaultAdminSourceApiComponent.this.marshaller[Seq[org.make.api.widget.AdminSourceResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec), DefaultAdminSourceApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminSourceResponse]])))
|
|
210
|
38777
|
6670
-
6684
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
210
|
32682
|
6737
-
6762
|
Apply
|
org.make.api.widget.AdminSourceResponse.apply
|
|
AdminSourceResponse.apply(source)
|
|
210
|
31171
|
6707
-
6721
|
Apply
|
scala.Any.toString
|
|
count.toString()
|
|
210
|
39820
|
6686
-
6723
|
Apply
|
scala.collection.IterableFactory.apply
|
|
scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString()))
|
|
210
|
43678
|
6691
-
6722
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
|
org.make.api.technical.X-Total-Count.apply(count.toString())
|
|
210
|
37185
|
6669
-
6764
|
Apply
|
scala.Tuple3.apply
|
|
scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.widget.AdminSourceResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), sources.map[org.make.api.widget.AdminSourceResponse](((source: org.make.core.widget.Source) => AdminSourceResponse.apply(source))))
|
|
210
|
34341
|
6669
-
6669
|
Select
|
org.make.api.widget.AdminSourceResponse.codec
|
|
widget.this.AdminSourceResponse.codec
|
|
210
|
30923
|
6669
-
6669
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminSourceApiComponent.this.marshaller[Seq[org.make.api.widget.AdminSourceResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec), DefaultAdminSourceApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminSourceResponse]])
|
|
220
|
39021
|
6916
-
7311
|
Apply
|
scala.Function1.apply
|
org.make.api.widget.adminsourceapitest
|
server.this.Directive.addByNameNullaryApply($anon.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.widget.SourceId,)]($anon.this.path[(org.make.core.widget.SourceId,)]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("sources"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.widget.SourceId,)]($anon.this.id)(TupleOps.this.Join.join0P[(org.make.core.widget.SourceId,)])))(util.this.ApplyConverter.hac1[org.make.core.widget.SourceId]).apply(((id: org.make.core.widget.SourceId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminSourceApiComponent.this.makeOperation("AdminSourcesGetById", DefaultAdminSourceApiComponent.this.makeOperation$default$2, DefaultAdminSourceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminSourceApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.get(id)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminSourceResponse](AdminSourceResponse.apply(source))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))))))))))))
|
|
220
|
40917
|
6916
-
6919
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.widget.adminsourceapitest
|
$anon.this.get
|
|
221
|
37684
|
6941
-
6941
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.widget.adminsourceapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
221
|
51318
|
6955
-
6957
|
Select
|
org.make.api.widget.DefaultAdminSourceApiComponent.$anon.id
|
org.make.api.widget.adminsourceapitest
|
$anon.this.id
|
|
221
|
45803
|
6943
-
6952
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.widget.adminsourceapitest
|
$anon.this._segmentStringToPathMatcher("sources")
|
|
221
|
44218
|
6932
-
6932
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.widget.adminsourceapitest
|
util.this.ApplyConverter.hac1[org.make.core.widget.SourceId]
|
|
221
|
39313
|
6933
-
6957
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.widget.adminsourceapitest
|
$anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("sources"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.widget.SourceId,)]($anon.this.id)(TupleOps.this.Join.join0P[(org.make.core.widget.SourceId,)])
|
|
221
|
46873
|
6953
-
6953
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.widget.adminsourceapitest
|
TupleOps.this.Join.join0P[(org.make.core.widget.SourceId,)]
|
|
221
|
47429
|
6928
-
7305
|
Apply
|
scala.Function1.apply
|
org.make.api.widget.adminsourceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.widget.SourceId,)]($anon.this.path[(org.make.core.widget.SourceId,)]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("sources"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.widget.SourceId,)]($anon.this.id)(TupleOps.this.Join.join0P[(org.make.core.widget.SourceId,)])))(util.this.ApplyConverter.hac1[org.make.core.widget.SourceId]).apply(((id: org.make.core.widget.SourceId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminSourceApiComponent.this.makeOperation("AdminSourcesGetById", DefaultAdminSourceApiComponent.this.makeOperation$default$2, DefaultAdminSourceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminSourceApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.get(id)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminSourceResponse](AdminSourceResponse.apply(source))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse])))))))))))))
|
|
221
|
32769
|
6933
-
6940
|
Literal
|
<nosymbol>
|
org.make.api.widget.adminsourceapitest
|
"admin"
|
|
221
|
30875
|
6928
-
6958
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.widget.adminsourceapitest
|
$anon.this.path[(org.make.core.widget.SourceId,)]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("sources"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.widget.SourceId,)]($anon.this.id)(TupleOps.this.Join.join0P[(org.make.core.widget.SourceId,)]))
|
|
222
|
37436
|
6975
-
7011
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.widget.adminsourceapitest
|
DefaultAdminSourceApiComponent.this.makeOperation("AdminSourcesGetById", DefaultAdminSourceApiComponent.this.makeOperation$default$2, DefaultAdminSourceApiComponent.this.makeOperation$default$3)
|
|
222
|
51303
|
6975
-
7297
|
Apply
|
scala.Function1.apply
|
org.make.api.widget.adminsourceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminSourceApiComponent.this.makeOperation("AdminSourcesGetById", DefaultAdminSourceApiComponent.this.makeOperation$default$2, DefaultAdminSourceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminSourceApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.get(id)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminSourceResponse](AdminSourceResponse.apply(source))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse])))))))))))
|
|
222
|
50752
|
6988
-
6988
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.widget.adminsourceapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
222
|
45293
|
6975
-
6975
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.widget.adminsourceapitest
|
DefaultAdminSourceApiComponent.this.makeOperation$default$3
|
|
222
|
32517
|
6975
-
6975
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.widget.adminsourceapitest
|
DefaultAdminSourceApiComponent.this.makeOperation$default$2
|
|
222
|
40400
|
6989
-
7010
|
Literal
|
<nosymbol>
|
org.make.api.widget.adminsourceapitest
|
"AdminSourcesGetById"
|
|
223
|
46914
|
7029
-
7039
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.widget.adminsourceapitest
|
DefaultAdminSourceApiComponent.this.makeOAuth2
|
|
223
|
39069
|
7029
-
7029
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.widget.adminsourceapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
223
|
37511
|
7029
-
7287
|
Apply
|
scala.Function1.apply
|
org.make.api.widget.adminsourceapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminSourceApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.get(id)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminSourceResponse](AdminSourceResponse.apply(source))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse])))))))))
|
|
224
|
30916
|
7105
-
7118
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
224
|
43972
|
7088
-
7119
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)
|
|
224
|
45084
|
7088
-
7275
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.get(id)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminSourceResponse](AdminSourceResponse.apply(source))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse])))))))
|
|
225
|
35863
|
7136
-
7157
|
Apply
|
org.make.api.widget.SourceService.get
|
|
DefaultAdminSourceApiComponent.this.sourceService.get(id)
|
|
225
|
45046
|
7158
-
7158
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.widget.Source]
|
|
225
|
33029
|
7136
-
7261
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.get(id)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminSourceResponse](AdminSourceResponse.apply(source))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))))
|
|
225
|
32553
|
7136
-
7179
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.get(id)).asDirectiveOrNotFound
|
|
226
|
38560
|
7236
-
7236
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse])
|
|
226
|
30665
|
7236
-
7236
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))
|
|
226
|
35898
|
7208
-
7245
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
$anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminSourceResponse](AdminSourceResponse.apply(source))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))
|
|
226
|
50250
|
7236
-
7236
|
Select
|
org.make.api.widget.AdminSourceResponse.codec
|
|
widget.this.AdminSourceResponse.codec
|
|
226
|
47388
|
7236
-
7236
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]
|
|
226
|
37477
|
7217
-
7244
|
Apply
|
org.make.api.widget.AdminSourceResponse.apply
|
|
AdminSourceResponse.apply(source)
|
|
226
|
44011
|
7217
-
7244
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminSourceResponse](AdminSourceResponse.apply(source))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse])))
|
|
234
|
30701
|
7346
-
7350
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.widget.adminsourceapitest
|
$anon.this.post
|
|
234
|
37512
|
7346
-
8483
|
Apply
|
scala.Function1.apply
|
org.make.api.widget.adminsourceapitest
|
server.this.Directive.addByNameNullaryApply($anon.this.post).apply(server.this.Directive.addByNameNullaryApply($anon.this.path[Unit]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("sources"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminSourceApiComponent.this.makeOperation("AdminSourcesCreate", DefaultAdminSourceApiComponent.this.makeOperation$default$2, DefaultAdminSourceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminSourceApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply($anon.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminSourceRequest,)]($anon.this.entity[org.make.api.widget.AdminSourceRequest]($anon.this.as[org.make.api.widget.AdminSourceRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminSourceRequest](DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminSourceRequest]).apply(((request: org.make.api.widget.AdminSourceRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.widget.Source],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.widget.Source]]).apply(((x0$1: Option[org.make.core.widget.Source]) => x0$1 match {
case (value: org.make.core.widget.Source): Some[org.make.core.widget.Source](_) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.create(request.name, request.source, userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete[org.make.api.widget.AdminSourceResponse](akka.http.scaladsl.model.StatusCodes.Created, AdminSourceResponse.apply(source))(DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))
}))))))))))))
|
|
235
|
45373
|
7359
-
8477
|
Apply
|
scala.Function1.apply
|
org.make.api.widget.adminsourceapitest
|
server.this.Directive.addByNameNullaryApply($anon.this.path[Unit]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("sources"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminSourceApiComponent.this.makeOperation("AdminSourcesCreate", DefaultAdminSourceApiComponent.this.makeOperation$default$2, DefaultAdminSourceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminSourceApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply($anon.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminSourceRequest,)]($anon.this.entity[org.make.api.widget.AdminSourceRequest]($anon.this.as[org.make.api.widget.AdminSourceRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminSourceRequest](DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminSourceRequest]).apply(((request: org.make.api.widget.AdminSourceRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.widget.Source],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.widget.Source]]).apply(((x0$1: Option[org.make.core.widget.Source]) => x0$1 match {
case (value: org.make.core.widget.Source): Some[org.make.core.widget.Source](_) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.create(request.name, request.source, userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete[org.make.api.widget.AdminSourceResponse](akka.http.scaladsl.model.StatusCodes.Created, AdminSourceResponse.apply(source))(DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))
})))))))))))
|
|
235
|
37268
|
7359
-
7384
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.widget.adminsourceapitest
|
$anon.this.path[Unit]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("sources"))(TupleOps.this.Join.join0P[Unit]))
|
|
235
|
32513
|
7372
-
7372
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.widget.adminsourceapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
235
|
45552
|
7364
-
7383
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.widget.adminsourceapitest
|
$anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("sources"))(TupleOps.this.Join.join0P[Unit])
|
|
235
|
44800
|
7364
-
7371
|
Literal
|
<nosymbol>
|
org.make.api.widget.adminsourceapitest
|
"admin"
|
|
235
|
36958
|
7374
-
7383
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.widget.adminsourceapitest
|
$anon.this._segmentStringToPathMatcher("sources")
|
|
236
|
51342
|
7409
-
7429
|
Literal
|
<nosymbol>
|
org.make.api.widget.adminsourceapitest
|
"AdminSourcesCreate"
|
|
236
|
49795
|
7395
-
8469
|
Apply
|
scala.Function1.apply
|
org.make.api.widget.adminsourceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminSourceApiComponent.this.makeOperation("AdminSourcesCreate", DefaultAdminSourceApiComponent.this.makeOperation$default$2, DefaultAdminSourceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminSourceApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply($anon.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminSourceRequest,)]($anon.this.entity[org.make.api.widget.AdminSourceRequest]($anon.this.as[org.make.api.widget.AdminSourceRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminSourceRequest](DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminSourceRequest]).apply(((request: org.make.api.widget.AdminSourceRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.widget.Source],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.widget.Source]]).apply(((x0$1: Option[org.make.core.widget.Source]) => x0$1 match {
case (value: org.make.core.widget.Source): Some[org.make.core.widget.Source](_) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.create(request.name, request.source, userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete[org.make.api.widget.AdminSourceResponse](akka.http.scaladsl.model.StatusCodes.Created, AdminSourceResponse.apply(source))(DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))
}))))))))))
|
|
236
|
43479
|
7395
-
7395
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.widget.adminsourceapitest
|
DefaultAdminSourceApiComponent.this.makeOperation$default$2
|
|
236
|
39064
|
7395
-
7395
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.widget.adminsourceapitest
|
DefaultAdminSourceApiComponent.this.makeOperation$default$3
|
|
236
|
31470
|
7395
-
7430
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.widget.adminsourceapitest
|
DefaultAdminSourceApiComponent.this.makeOperation("AdminSourcesCreate", DefaultAdminSourceApiComponent.this.makeOperation$default$2, DefaultAdminSourceApiComponent.this.makeOperation$default$3)
|
|
236
|
44560
|
7408
-
7408
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.widget.adminsourceapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
237
|
32264
|
7448
-
7448
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.widget.adminsourceapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
237
|
36989
|
7448
-
7458
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.widget.adminsourceapitest
|
DefaultAdminSourceApiComponent.this.makeOAuth2
|
|
237
|
36776
|
7448
-
8459
|
Apply
|
scala.Function1.apply
|
org.make.api.widget.adminsourceapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminSourceApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply($anon.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminSourceRequest,)]($anon.this.entity[org.make.api.widget.AdminSourceRequest]($anon.this.as[org.make.api.widget.AdminSourceRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminSourceRequest](DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminSourceRequest]).apply(((request: org.make.api.widget.AdminSourceRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.widget.Source],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.widget.Source]]).apply(((x0$1: Option[org.make.core.widget.Source]) => x0$1 match {
case (value: org.make.core.widget.Source): Some[org.make.core.widget.Source](_) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.create(request.name, request.source, userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete[org.make.api.widget.AdminSourceResponse](akka.http.scaladsl.model.StatusCodes.Created, AdminSourceResponse.apply(source))(DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))
}))))))))
|
|
238
|
45591
|
7524
-
7537
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
238
|
43581
|
7507
-
8447
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply($anon.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminSourceRequest,)]($anon.this.entity[org.make.api.widget.AdminSourceRequest]($anon.this.as[org.make.api.widget.AdminSourceRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminSourceRequest](DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminSourceRequest]).apply(((request: org.make.api.widget.AdminSourceRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.widget.Source],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.widget.Source]]).apply(((x0$1: Option[org.make.core.widget.Source]) => x0$1 match {
case (value: org.make.core.widget.Source): Some[org.make.core.widget.Source](_) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.create(request.name, request.source, userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete[org.make.api.widget.AdminSourceResponse](akka.http.scaladsl.model.StatusCodes.Created, AdminSourceResponse.apply(source))(DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))
}))))))
|
|
238
|
37472
|
7507
-
7538
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)
|
|
239
|
30955
|
7555
-
8433
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply($anon.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminSourceRequest,)]($anon.this.entity[org.make.api.widget.AdminSourceRequest]($anon.this.as[org.make.api.widget.AdminSourceRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminSourceRequest](DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminSourceRequest]).apply(((request: org.make.api.widget.AdminSourceRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.widget.Source],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.widget.Source]]).apply(((x0$1: Option[org.make.core.widget.Source]) => x0$1 match {
case (value: org.make.core.widget.Source): Some[org.make.core.widget.Source](_) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.create(request.name, request.source, userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete[org.make.api.widget.AdminSourceResponse](akka.http.scaladsl.model.StatusCodes.Created, AdminSourceResponse.apply(source))(DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))
})))))
|
|
239
|
51098
|
7555
-
7568
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
$anon.this.decodeRequest
|
|
240
|
43516
|
7596
-
7596
|
Select
|
org.make.api.widget.AdminSourceRequest.codec
|
|
widget.this.AdminSourceRequest.codec
|
|
240
|
44003
|
7594
-
7616
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
$anon.this.as[org.make.api.widget.AdminSourceRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminSourceRequest](DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec)))
|
|
240
|
31212
|
7596
-
7596
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminSourceRequest](DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec))
|
|
240
|
49493
|
7593
-
7593
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.widget.AdminSourceRequest]
|
|
240
|
36755
|
7587
-
7617
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
$anon.this.entity[org.make.api.widget.AdminSourceRequest]($anon.this.as[org.make.api.widget.AdminSourceRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminSourceRequest](DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec))))
|
|
240
|
35134
|
7587
-
8417
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminSourceRequest,)]($anon.this.entity[org.make.api.widget.AdminSourceRequest]($anon.this.as[org.make.api.widget.AdminSourceRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminSourceRequest](DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminSourceRequest]).apply(((request: org.make.api.widget.AdminSourceRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.widget.Source],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.widget.Source]]).apply(((x0$1: Option[org.make.core.widget.Source]) => x0$1 match {
case (value: org.make.core.widget.Source): Some[org.make.core.widget.Source](_) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.create(request.name, request.source, userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete[org.make.api.widget.AdminSourceResponse](akka.http.scaladsl.model.StatusCodes.Created, AdminSourceResponse.apply(source))(DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))
}))))
|
|
240
|
38812
|
7596
-
7596
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec)
|
|
241
|
43267
|
7669
-
8399
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.widget.Source],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.widget.Source]]).apply(((x0$1: Option[org.make.core.widget.Source]) => x0$1 match {
case (value: org.make.core.widget.Source): Some[org.make.core.widget.Source](_) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.create(request.name, request.source, userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete[org.make.api.widget.AdminSourceResponse](akka.http.scaladsl.model.StatusCodes.Created, AdminSourceResponse.apply(source))(DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))
}))
|
|
241
|
50546
|
7669
-
7723
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)).asDirective
|
|
241
|
42728
|
7712
-
7712
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[org.make.core.widget.Source]]
|
|
241
|
45629
|
7696
-
7710
|
Select
|
org.make.api.widget.AdminSourceRequest.source
|
|
request.source
|
|
241
|
37221
|
7669
-
7711
|
Apply
|
org.make.api.widget.SourceService.findBySource
|
|
DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)
|
|
243
|
36709
|
7784
-
8066
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
$anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
|
|
244
|
37262
|
7841
-
7841
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
|
|
244
|
49532
|
7844
-
8042
|
Apply
|
org.make.core.ValidationError.apply
|
|
org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))
|
|
244
|
43470
|
7841
-
7841
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]
|
|
244
|
38894
|
7841
-
7841
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError])
|
|
244
|
43792
|
7818
-
8042
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError])))
|
|
244
|
38851
|
7818
-
7840
|
Select
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
244
|
50293
|
7841
-
7841
|
Select
|
org.make.core.ValidationError.codec
|
|
core.this.ValidationError.codec
|
|
244
|
31769
|
7841
-
7841
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))
|
|
244
|
45379
|
7818
-
8042
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String))))
|
|
245
|
30697
|
7887
-
7895
|
Literal
|
<nosymbol>
|
|
"source"
|
|
246
|
43750
|
7923
-
7940
|
Literal
|
<nosymbol>
|
|
"already_defined"
|
|
247
|
36200
|
7968
-
8016
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String))
|
|
252
|
38323
|
8220
-
8240
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
252
|
50336
|
8119
-
8241
|
Apply
|
org.make.api.widget.SourceService.create
|
|
DefaultAdminSourceApiComponent.this.sourceService.create(request.name, request.source, userAuth.user.userId)
|
|
252
|
50007
|
8172
-
8184
|
Select
|
org.make.api.widget.AdminSourceRequest.name
|
|
request.name
|
|
252
|
44866
|
8195
-
8209
|
Select
|
org.make.api.widget.AdminSourceRequest.source
|
|
request.source
|
|
253
|
35653
|
8267
-
8267
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.widget.Source]
|
|
253
|
43509
|
8119
-
8278
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.create(request.name, request.source, userAuth.user.userId)).asDirective
|
|
254
|
36742
|
8328
-
8328
|
Select
|
org.make.api.widget.AdminSourceResponse.codec
|
|
widget.this.AdminSourceResponse.codec
|
|
254
|
51124
|
8119
-
8379
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.create(request.name, request.source, userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete[org.make.api.widget.AdminSourceResponse](akka.http.scaladsl.model.StatusCodes.Created, AdminSourceResponse.apply(source))(DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))
|
|
254
|
45331
|
8328
-
8328
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse])
|
|
254
|
50044
|
8328
-
8328
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]
|
|
254
|
44843
|
8350
-
8377
|
Apply
|
org.make.api.widget.AdminSourceResponse.apply
|
|
AdminSourceResponse.apply(source)
|
|
254
|
37054
|
8320
-
8378
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
$anon.this.complete[org.make.api.widget.AdminSourceResponse](akka.http.scaladsl.model.StatusCodes.Created, AdminSourceResponse.apply(source))(DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))
|
|
254
|
30492
|
8329
-
8348
|
Select
|
akka.http.scaladsl.model.StatusCodes.Created
|
|
akka.http.scaladsl.model.StatusCodes.Created
|
|
264
|
42289
|
8518
-
9687
|
Apply
|
scala.Function1.apply
|
org.make.api.widget.adminsourceapitest
|
server.this.Directive.addByNameNullaryApply($anon.this.put).apply(server.this.Directive.addDirectiveApply[(org.make.core.widget.SourceId,)]($anon.this.path[(org.make.core.widget.SourceId,)]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("sources"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.widget.SourceId,)]($anon.this.id)(TupleOps.this.Join.join0P[(org.make.core.widget.SourceId,)])))(util.this.ApplyConverter.hac1[org.make.core.widget.SourceId]).apply(((id: org.make.core.widget.SourceId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminSourceApiComponent.this.makeOperation("AdminSourcesUpdate", DefaultAdminSourceApiComponent.this.makeOperation$default$2, DefaultAdminSourceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$4: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminSourceApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply($anon.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminSourceRequest,)]($anon.this.entity[org.make.api.widget.AdminSourceRequest]($anon.this.as[org.make.api.widget.AdminSourceRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminSourceRequest](DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminSourceRequest]).apply(((request: org.make.api.widget.AdminSourceRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.widget.Source],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.widget.Source]]).apply(((x0$1: Option[org.make.core.widget.Source]) => x0$1 match {
case (value: org.make.core.widget.Source): Some[org.make.core.widget.Source]((source @ _)) if source.id.!=(id) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.update(id, request.name, request.source, userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminSourceResponse](AdminSourceResponse.apply(source))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))))
})))))))))))))
|
|
264
|
50887
|
8518
-
8521
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.put
|
org.make.api.widget.adminsourceapitest
|
$anon.this.put
|
|
265
|
34894
|
8545
-
8554
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.widget.adminsourceapitest
|
$anon.this._segmentStringToPathMatcher("sources")
|
|
265
|
51160
|
8530
-
9681
|
Apply
|
scala.Function1.apply
|
org.make.api.widget.adminsourceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.widget.SourceId,)]($anon.this.path[(org.make.core.widget.SourceId,)]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("sources"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.widget.SourceId,)]($anon.this.id)(TupleOps.this.Join.join0P[(org.make.core.widget.SourceId,)])))(util.this.ApplyConverter.hac1[org.make.core.widget.SourceId]).apply(((id: org.make.core.widget.SourceId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminSourceApiComponent.this.makeOperation("AdminSourcesUpdate", DefaultAdminSourceApiComponent.this.makeOperation$default$2, DefaultAdminSourceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$4: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminSourceApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply($anon.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminSourceRequest,)]($anon.this.entity[org.make.api.widget.AdminSourceRequest]($anon.this.as[org.make.api.widget.AdminSourceRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminSourceRequest](DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminSourceRequest]).apply(((request: org.make.api.widget.AdminSourceRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.widget.Source],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.widget.Source]]).apply(((x0$1: Option[org.make.core.widget.Source]) => x0$1 match {
case (value: org.make.core.widget.Source): Some[org.make.core.widget.Source]((source @ _)) if source.id.!=(id) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.update(id, request.name, request.source, userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminSourceResponse](AdminSourceResponse.apply(source))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))))
}))))))))))))
|
|
265
|
43788
|
8557
-
8559
|
Select
|
org.make.api.widget.DefaultAdminSourceApiComponent.$anon.id
|
org.make.api.widget.adminsourceapitest
|
$anon.this.id
|
|
265
|
37555
|
8534
-
8534
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.widget.adminsourceapitest
|
util.this.ApplyConverter.hac1[org.make.core.widget.SourceId]
|
|
265
|
41434
|
8530
-
8560
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.widget.adminsourceapitest
|
$anon.this.path[(org.make.core.widget.SourceId,)]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("sources"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.widget.SourceId,)]($anon.this.id)(TupleOps.this.Join.join0P[(org.make.core.widget.SourceId,)]))
|
|
265
|
36547
|
8555
-
8555
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.widget.adminsourceapitest
|
TupleOps.this.Join.join0P[(org.make.core.widget.SourceId,)]
|
|
265
|
30996
|
8543
-
8543
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.widget.adminsourceapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
265
|
49277
|
8535
-
8559
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.widget.adminsourceapitest
|
$anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("sources"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.widget.SourceId,)]($anon.this.id)(TupleOps.this.Join.join0P[(org.make.core.widget.SourceId,)])
|
|
265
|
43304
|
8535
-
8542
|
Literal
|
<nosymbol>
|
org.make.api.widget.adminsourceapitest
|
"admin"
|
|
266
|
30739
|
8577
-
8612
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.widget.adminsourceapitest
|
DefaultAdminSourceApiComponent.this.makeOperation("AdminSourcesUpdate", DefaultAdminSourceApiComponent.this.makeOperation$default$2, DefaultAdminSourceApiComponent.this.makeOperation$default$3)
|
|
266
|
43060
|
8577
-
8577
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.widget.adminsourceapitest
|
DefaultAdminSourceApiComponent.this.makeOperation$default$2
|
|
266
|
33385
|
8577
-
9673
|
Apply
|
scala.Function1.apply
|
org.make.api.widget.adminsourceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminSourceApiComponent.this.makeOperation("AdminSourcesUpdate", DefaultAdminSourceApiComponent.this.makeOperation$default$2, DefaultAdminSourceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$4: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminSourceApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply($anon.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminSourceRequest,)]($anon.this.entity[org.make.api.widget.AdminSourceRequest]($anon.this.as[org.make.api.widget.AdminSourceRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminSourceRequest](DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminSourceRequest]).apply(((request: org.make.api.widget.AdminSourceRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.widget.Source],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.widget.Source]]).apply(((x0$1: Option[org.make.core.widget.Source]) => x0$1 match {
case (value: org.make.core.widget.Source): Some[org.make.core.widget.Source]((source @ _)) if source.id.!=(id) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.update(id, request.name, request.source, userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminSourceResponse](AdminSourceResponse.apply(source))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))))
}))))))))))
|
|
266
|
44836
|
8590
-
8590
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.widget.adminsourceapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
266
|
50332
|
8591
-
8611
|
Literal
|
<nosymbol>
|
org.make.api.widget.adminsourceapitest
|
"AdminSourcesUpdate"
|
|
266
|
34927
|
8577
-
8577
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.widget.adminsourceapitest
|
DefaultAdminSourceApiComponent.this.makeOperation$default$3
|
|
267
|
41250
|
8630
-
9663
|
Apply
|
scala.Function1.apply
|
org.make.api.widget.adminsourceapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminSourceApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply($anon.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminSourceRequest,)]($anon.this.entity[org.make.api.widget.AdminSourceRequest]($anon.this.as[org.make.api.widget.AdminSourceRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminSourceRequest](DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminSourceRequest]).apply(((request: org.make.api.widget.AdminSourceRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.widget.Source],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.widget.Source]]).apply(((x0$1: Option[org.make.core.widget.Source]) => x0$1 match {
case (value: org.make.core.widget.Source): Some[org.make.core.widget.Source]((source @ _)) if source.id.!=(id) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.update(id, request.name, request.source, userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminSourceResponse](AdminSourceResponse.apply(source))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))))
}))))))))
|
|
267
|
49046
|
8630
-
8630
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.widget.adminsourceapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
267
|
35983
|
8630
-
8640
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.widget.adminsourceapitest
|
DefaultAdminSourceApiComponent.this.makeOAuth2
|
|
268
|
37050
|
8689
-
8720
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)
|
|
268
|
41468
|
8706
-
8719
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
268
|
49366
|
8689
-
9651
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply($anon.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminSourceRequest,)]($anon.this.entity[org.make.api.widget.AdminSourceRequest]($anon.this.as[org.make.api.widget.AdminSourceRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminSourceRequest](DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminSourceRequest]).apply(((request: org.make.api.widget.AdminSourceRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.widget.Source],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.widget.Source]]).apply(((x0$1: Option[org.make.core.widget.Source]) => x0$1 match {
case (value: org.make.core.widget.Source): Some[org.make.core.widget.Source]((source @ _)) if source.id.!=(id) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.update(id, request.name, request.source, userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminSourceResponse](AdminSourceResponse.apply(source))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))))
}))))))
|
|
269
|
51380
|
8737
-
8750
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
$anon.this.decodeRequest
|
|
269
|
35762
|
8737
-
9637
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply($anon.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminSourceRequest,)]($anon.this.entity[org.make.api.widget.AdminSourceRequest]($anon.this.as[org.make.api.widget.AdminSourceRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminSourceRequest](DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminSourceRequest]).apply(((request: org.make.api.widget.AdminSourceRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.widget.Source],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.widget.Source]]).apply(((x0$1: Option[org.make.core.widget.Source]) => x0$1 match {
case (value: org.make.core.widget.Source): Some[org.make.core.widget.Source]((source @ _)) if source.id.!=(id) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.update(id, request.name, request.source, userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminSourceResponse](AdminSourceResponse.apply(source))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))))
})))))
|
|
270
|
34696
|
8778
-
8778
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec)
|
|
270
|
43877
|
8769
-
9621
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminSourceRequest,)]($anon.this.entity[org.make.api.widget.AdminSourceRequest]($anon.this.as[org.make.api.widget.AdminSourceRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminSourceRequest](DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminSourceRequest]).apply(((request: org.make.api.widget.AdminSourceRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.widget.Source],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.widget.Source]]).apply(((x0$1: Option[org.make.core.widget.Source]) => x0$1 match {
case (value: org.make.core.widget.Source): Some[org.make.core.widget.Source]((source @ _)) if source.id.!=(id) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.update(id, request.name, request.source, userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminSourceResponse](AdminSourceResponse.apply(source))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))))
}))))
|
|
270
|
49786
|
8775
-
8775
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.widget.AdminSourceRequest]
|
|
270
|
42495
|
8778
-
8778
|
Select
|
org.make.api.widget.AdminSourceRequest.codec
|
|
widget.this.AdminSourceRequest.codec
|
|
270
|
37025
|
8769
-
8799
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
$anon.this.entity[org.make.api.widget.AdminSourceRequest]($anon.this.as[org.make.api.widget.AdminSourceRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminSourceRequest](DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec))))
|
|
270
|
43577
|
8776
-
8798
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
$anon.this.as[org.make.api.widget.AdminSourceRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminSourceRequest](DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec)))
|
|
270
|
47999
|
8778
-
8778
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminSourceRequest](DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec))
|
|
271
|
38107
|
8851
-
8893
|
Apply
|
org.make.api.widget.SourceService.findBySource
|
|
DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)
|
|
271
|
41501
|
8878
-
8892
|
Select
|
org.make.api.widget.AdminSourceRequest.source
|
|
request.source
|
|
271
|
50114
|
8851
-
8905
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)).asDirective
|
|
271
|
47742
|
8851
-
9603
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.widget.Source],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.widget.Source]](DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.widget.Source]]).apply(((x0$1: Option[org.make.core.widget.Source]) => x0$1 match {
case (value: org.make.core.widget.Source): Some[org.make.core.widget.Source]((source @ _)) if source.id.!=(id) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.update(id, request.name, request.source, userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminSourceResponse](AdminSourceResponse.apply(source))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))))
}))
|
|
271
|
43017
|
8894
-
8894
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[org.make.core.widget.Source]]
|
|
272
|
35434
|
8949
-
8964
|
Apply
|
java.lang.Object.!=
|
|
source.id.!=(id)
|
|
273
|
49569
|
8990
-
9272
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
$anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
|
|
274
|
47957
|
9047
-
9047
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError])
|
|
274
|
41964
|
9050
-
9248
|
Apply
|
org.make.core.ValidationError.apply
|
|
org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))
|
|
274
|
44667
|
9047
-
9047
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))
|
|
274
|
47490
|
9024
-
9046
|
Select
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
274
|
35473
|
9047
-
9047
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]
|
|
274
|
51167
|
9047
-
9047
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
|
|
274
|
38143
|
9024
-
9248
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String))))
|
|
274
|
43050
|
9047
-
9047
|
Select
|
org.make.core.ValidationError.codec
|
|
core.this.ValidationError.codec
|
|
274
|
36297
|
9024
-
9248
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("source", "already_defined", scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminSourceApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError])))
|
|
275
|
44628
|
9093
-
9101
|
Literal
|
<nosymbol>
|
|
"source"
|
|
276
|
35767
|
9129
-
9146
|
Literal
|
<nosymbol>
|
|
"already_defined"
|
|
277
|
49531
|
9174
-
9222
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String))
|
|
282
|
42800
|
9325
-
9456
|
Apply
|
org.make.api.widget.SourceService.update
|
|
DefaultAdminSourceApiComponent.this.sourceService.update(id, request.name, request.source, userAuth.user.userId)
|
|
282
|
33591
|
9410
-
9424
|
Select
|
org.make.api.widget.AdminSourceRequest.source
|
|
request.source
|
|
282
|
41462
|
9387
-
9399
|
Select
|
org.make.api.widget.AdminSourceRequest.name
|
|
request.name
|
|
282
|
51211
|
9435
-
9455
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
283
|
47993
|
9482
-
9482
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.widget.Source]
|
|
283
|
35222
|
9325
-
9503
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.update(id, request.name, request.source, userAuth.user.userId)).asDirectiveOrNotFound
|
|
284
|
33629
|
9573
-
9573
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))
|
|
284
|
49608
|
9573
-
9573
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]
|
|
284
|
43833
|
9554
-
9581
|
Apply
|
org.make.api.widget.AdminSourceResponse.apply
|
|
AdminSourceResponse.apply(source)
|
|
284
|
41216
|
9573
-
9573
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse])
|
|
284
|
34717
|
9325
-
9583
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.widget.Source,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminSourceApiComponent.this.sourceService.update(id, request.name, request.source, userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Source]).apply(((source: org.make.core.widget.Source) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminSourceResponse](AdminSourceResponse.apply(source))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))))
|
|
284
|
51123
|
9554
-
9581
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminSourceResponse](AdminSourceResponse.apply(source))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse])))
|
|
284
|
42836
|
9545
-
9582
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
$anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminSourceResponse](AdminSourceResponse.apply(source))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminSourceResponse](DefaultAdminSourceApiComponent.this.marshaller[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec, DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]))))
|
|
284
|
36333
|
9573
-
9573
|
Select
|
org.make.api.widget.AdminSourceResponse.codec
|
|
widget.this.AdminSourceResponse.codec
|
|
301
|
47781
|
9842
-
9853
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveCodec
|
|
io.circe.generic.semiauto.deriveCodec[org.make.api.widget.AdminSourceRequest]({
val inst$macro$12: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.widget.AdminSourceRequest] = {
final class anon$lazy$macro$11 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$11 = {
anon$lazy$macro$11.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.widget.AdminSourceRequest] = codec.this.DerivedAsObjectCodec.deriveCodec[org.make.api.widget.AdminSourceRequest, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.widget.AdminSourceRequest, (Symbol @@ String("name")) :: (Symbol @@ String("source")) :: shapeless.HNil, String :: String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.widget.AdminSourceRequest, (Symbol @@ String("name")) :: (Symbol @@ String("source")) :: shapeless.HNil](::.apply[Symbol @@ String("name"), (Symbol @@ String("source")) :: shapeless.HNil.type](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")], ::.apply[Symbol @@ String("source"), shapeless.HNil.type](scala.Symbol.apply("source").asInstanceOf[Symbol @@ String("source")], HNil))), Generic.instance[org.make.api.widget.AdminSourceRequest, String :: String :: shapeless.HNil](((x0$3: org.make.api.widget.AdminSourceRequest) => x0$3 match {
case (name: String, source: String): org.make.api.widget.AdminSourceRequest((name$macro$8 @ _), (source$macro$9 @ _)) => ::.apply[String, String :: shapeless.HNil.type](name$macro$8, ::.apply[String, shapeless.HNil.type](source$macro$9, HNil)).asInstanceOf[String :: String :: shapeless.HNil]
}), ((x0$4: String :: String :: shapeless.HNil) => x0$4 match {
case (head: String, tail: String :: shapeless.HNil): String :: String :: shapeless.HNil((name$macro$6 @ _), (head: String, tail: shapeless.HNil): String :: shapeless.HNil((source$macro$7 @ _), HNil)) => widget.this.AdminSourceRequest.apply(name$macro$6, source$macro$7)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("name"), String, (Symbol @@ String("source")) :: shapeless.HNil, String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("source"), String, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("source")]](scala.Symbol.apply("source").asInstanceOf[Symbol @@ String("source")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("source")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("name")]](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("name")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$11.this.inst$macro$10)).asInstanceOf[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.widget.AdminSourceRequest]];
<stable> <accessor> lazy val inst$macro$10: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForsource: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
private[this] val circeGenericEncoderForsource: io.circe.Encoder[String] = circe.this.Encoder.encodeString;
final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match {
case (head: shapeless.labelled.FieldType[Symbol @@ String("name"),String], tail: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForname @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("source"),String], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForsource @ _), shapeless.HNil)) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("name", $anon.this.circeGenericEncoderForsource.apply(circeGenericHListBindingForname)), scala.Tuple2.apply[String, io.circe.Json]("source", $anon.this.circeGenericEncoderForsource.apply(circeGenericHListBindingForsource))))
};
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForsource.tryDecode(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("source"), String, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForsource.tryDecode(c.downField("source")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForsource.tryDecodeAccumulating(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("source"), String, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForsource.tryDecodeAccumulating(c.downField("source")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$11().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.widget.AdminSourceRequest]](inst$macro$12)
})
|
|
314
|
48821
|
10214
-
10227
|
Select
|
org.make.core.widget.Source.source
|
|
source.source
|
|
314
|
40680
|
10174
-
10183
|
Select
|
org.make.core.widget.Source.id
|
|
source.id
|
|
314
|
36822
|
10192
-
10203
|
Select
|
org.make.core.widget.Source.name
|
|
source.name
|
|
314
|
41019
|
10149
-
10228
|
Apply
|
org.make.api.widget.AdminSourceResponse.apply
|
|
AdminSourceResponse.apply(source.id, source.name, source.source)
|
|
316
|
33421
|
10281
-
10292
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveCodec
|
|
io.circe.generic.semiauto.deriveCodec[org.make.api.widget.AdminSourceResponse]({
val inst$macro$16: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.widget.AdminSourceResponse] = {
final class anon$lazy$macro$15 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$15 = {
anon$lazy$macro$15.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.widget.AdminSourceResponse] = codec.this.DerivedAsObjectCodec.deriveCodec[org.make.api.widget.AdminSourceResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.widget.AdminSourceResponse, (Symbol @@ String("id")) :: (Symbol @@ String("name")) :: (Symbol @@ String("source")) :: shapeless.HNil, org.make.core.widget.SourceId :: String :: String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.widget.AdminSourceResponse, (Symbol @@ String("id")) :: (Symbol @@ String("name")) :: (Symbol @@ String("source")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("name")) :: (Symbol @@ String("source")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("name"), (Symbol @@ String("source")) :: shapeless.HNil.type](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")], ::.apply[Symbol @@ String("source"), shapeless.HNil.type](scala.Symbol.apply("source").asInstanceOf[Symbol @@ String("source")], HNil)))), Generic.instance[org.make.api.widget.AdminSourceResponse, org.make.core.widget.SourceId :: String :: String :: shapeless.HNil](((x0$3: org.make.api.widget.AdminSourceResponse) => x0$3 match {
case (id: org.make.core.widget.SourceId, name: String, source: String): org.make.api.widget.AdminSourceResponse((id$macro$11 @ _), (name$macro$12 @ _), (source$macro$13 @ _)) => ::.apply[org.make.core.widget.SourceId, String :: String :: shapeless.HNil.type](id$macro$11, ::.apply[String, String :: shapeless.HNil.type](name$macro$12, ::.apply[String, shapeless.HNil.type](source$macro$13, HNil))).asInstanceOf[org.make.core.widget.SourceId :: String :: String :: shapeless.HNil]
}), ((x0$4: org.make.core.widget.SourceId :: String :: String :: shapeless.HNil) => x0$4 match {
case (head: org.make.core.widget.SourceId, tail: String :: String :: shapeless.HNil): org.make.core.widget.SourceId :: String :: String :: shapeless.HNil((id$macro$8 @ _), (head: String, tail: String :: shapeless.HNil): String :: String :: shapeless.HNil((name$macro$9 @ _), (head: String, tail: shapeless.HNil): String :: shapeless.HNil((source$macro$10 @ _), HNil))) => widget.this.AdminSourceResponse.apply(id$macro$8, name$macro$9, source$macro$10)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.widget.SourceId, (Symbol @@ String("name")) :: (Symbol @@ String("source")) :: shapeless.HNil, String :: String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("name"), String, (Symbol @@ String("source")) :: shapeless.HNil, String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("source"), String, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("source")]](scala.Symbol.apply("source").asInstanceOf[Symbol @@ String("source")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("source")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("name")]](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("name")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("id")]](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("id")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$15.this.inst$macro$14)).asInstanceOf[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.widget.AdminSourceResponse]];
<stable> <accessor> lazy val inst$macro$14: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForid: io.circe.Codec[org.make.core.widget.SourceId] = widget.this.SourceId.codec;
private[this] val circeGenericDecoderForsource: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
private[this] val circeGenericEncoderForid: io.circe.Codec[org.make.core.widget.SourceId] = widget.this.SourceId.codec;
private[this] val circeGenericEncoderForsource: io.circe.Encoder[String] = circe.this.Encoder.encodeString;
final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match {
case (head: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.SourceId], tail: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForid @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("name"),String], tail: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForname @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("source"),String], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForsource @ _), shapeless.HNil))) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("id", $anon.this.circeGenericEncoderForid.apply(circeGenericHListBindingForid)), scala.Tuple2.apply[String, io.circe.Json]("name", $anon.this.circeGenericEncoderForsource.apply(circeGenericHListBindingForname)), scala.Tuple2.apply[String, io.circe.Json]("source", $anon.this.circeGenericEncoderForsource.apply(circeGenericHListBindingForsource))))
};
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("id"), org.make.core.widget.SourceId, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecode(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForsource.tryDecode(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("source"), String, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForsource.tryDecode(c.downField("source")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("id"), org.make.core.widget.SourceId, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecodeAccumulating(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForsource.tryDecodeAccumulating(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("source"), String, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForsource.tryDecodeAccumulating(c.downField("source")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("source"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$15().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.widget.AdminSourceResponse]](inst$macro$16)
})
|