1 /*
2  *  Make.org Core API
3  *  Copyright (C) 2021 Make.org
4  *
5  * This program is free software: you can redistribute it and/or modify
6  *  it under the terms of the GNU Affero General Public License as
7  *  published by the Free Software Foundation, either version 3 of the
8  *  License, or (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU Affero General Public License for more details.
14  *
15  *  You should have received a copy of the GNU Affero General Public License
16  *  along with this program.  If not, see <https://www.gnu.org/licenses/>.
17  *
18  */
19 
20 package org.make.api.widget
21 
22 import cats.implicits._
23 import akka.http.scaladsl.model.StatusCodes
24 import akka.http.scaladsl.server._
25 import io.circe.Codec
26 import io.circe.generic.semiauto.deriveCodec
27 import io.swagger.annotations.{
28   Api,
29   ApiImplicitParam,
30   ApiImplicitParams,
31   ApiModelProperty,
32   ApiOperation,
33   ApiResponse,
34   ApiResponses,
35   Authorization,
36   AuthorizationScope
37 }
38 import org.make.api.operation.OperationServiceComponent
39 import org.make.api.question.QuestionServiceComponent
40 import org.make.api.technical.{`X-Total-Count`, MakeAuthenticationDirectives}
41 import org.make.api.technical.MakeDirectives.MakeDirectivesDependencies
42 import org.make.api.technical.directives.FutureDirectivesExtensions._
43 import org.make.core.{HttpCodes, Order, ParameterExtractors, ValidationError}
44 import org.make.core.auth.UserRights
45 import org.make.core.technical.Pagination
46 import org.make.core.widget.{Source, SourceId}
47 import scalaoauth2.provider.AuthInfo
48 
49 import javax.ws.rs.Path
50 import scala.annotation.meta.field
51 
52 @Api(value = "Admin Sources")
53 @Path(value = "/admin/sources")
54 trait AdminSourceApi extends Directives {
55 
56   @ApiOperation(
57     value = "list-sources",
58     httpMethod = "GET",
59     code = HttpCodes.OK,
60     authorizations = Array(
61       new Authorization(
62         value = "MakeApi",
63         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
64       )
65     )
66   )
67   @ApiImplicitParams(
68     value = Array(
69       new ApiImplicitParam(
70         name = "_start",
71         paramType = "query",
72         dataType = "int",
73         allowableValues = "range[0, infinity]"
74       ),
75       new ApiImplicitParam(
76         name = "_end",
77         paramType = "query",
78         dataType = "int",
79         allowableValues = "range[0, infinity]"
80       ),
81       new ApiImplicitParam(name = "_sort", paramType = "query", dataType = "string", allowableValues = "source,name"),
82       new ApiImplicitParam(
83         name = "_order",
84         paramType = "query",
85         dataType = "string",
86         allowableValues = Order.swaggerAllowableValues
87       ),
88       new ApiImplicitParam(name = "name", paramType = "query", dataType = "string"),
89       new ApiImplicitParam(name = "source", paramType = "query", dataType = "string")
90     )
91   )
92   @ApiResponses(
93     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[Array[AdminSourceResponse]]))
94   )
95   @Path(value = "/")
96   def list: Route
97 
98   @ApiOperation(
99     value = "get-source-by-id",
100     httpMethod = "GET",
101     code = HttpCodes.OK,
102     authorizations = Array(
103       new Authorization(
104         value = "MakeApi",
105         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
106       )
107     )
108   )
109   @ApiImplicitParams(value = Array(new ApiImplicitParam(name = "id", paramType = "path", dataType = "string")))
110   @ApiResponses(
111     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[AdminSourceResponse]))
112   )
113   @Path(value = "/{id}")
114   def getById: Route
115 
116   @ApiOperation(
117     value = "create-source",
118     httpMethod = "POST",
119     code = HttpCodes.Created,
120     authorizations = Array(
121       new Authorization(
122         value = "MakeApi",
123         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
124       )
125     )
126   )
127   @ApiImplicitParams(
128     value = Array(
129       new ApiImplicitParam(value = "body", paramType = "body", dataType = "org.make.api.widget.AdminSourceRequest")
130     )
131   )
132   @ApiResponses(
133     value = Array(new ApiResponse(code = HttpCodes.Created, message = "Ok", response = classOf[AdminSourceResponse]))
134   )
135   @Path(value = "/")
136   def create: Route
137 
138   @ApiOperation(
139     value = "update-source",
140     httpMethod = "PUT",
141     code = HttpCodes.OK,
142     authorizations = Array(
143       new Authorization(
144         value = "MakeApi",
145         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
146       )
147     )
148   )
149   @ApiImplicitParams(
150     value = Array(
151       new ApiImplicitParam(name = "id", paramType = "path", dataType = "string"),
152       new ApiImplicitParam(value = "body", paramType = "body", dataType = "org.make.api.widget.AdminSourceRequest")
153     )
154   )
155   @ApiResponses(
156     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[AdminSourceResponse]))
157   )
158   @Path(value = "/{id}")
159   def update: Route
160 
161   def routes: Route = list ~ getById ~ create ~ update
162 
163 }
164 
165 trait AdminSourceApiComponent {
166   def adminSourceApi: AdminSourceApi
167 }
168 
169 trait DefaultAdminSourceApiComponent
170     extends AdminSourceApiComponent
171     with MakeAuthenticationDirectives
172     with ParameterExtractors {
173 
174   self: MakeDirectivesDependencies
175     with SourceServiceComponent
176     with QuestionServiceComponent
177     with OperationServiceComponent =>
178 
179   override val adminSourceApi: AdminSourceApi = new AdminSourceApi {
180 
181     private val id: PathMatcher1[SourceId] = Segment.map(SourceId.apply)
182 
183     override def list: Route = get {
184       path("admin" / "sources") {
185         parameters(
186           "_start".as[Pagination.Offset].?,
187           "_end".as[Pagination.End].?,
188           "_sort".?,
189           "_order".as[Order].?,
190           "name".?,
191           "source".?
192         ) {
193           (
194             offset: Option[Pagination.Offset],
195             end: Option[Pagination.End],
196             sort: Option[String],
197             order: Option[Order],
198             name: Option[String],
199             source: Option[String]
200           ) =>
201             makeOperation("AdminSourcesList") { _ =>
202               makeOAuth2 { userAuth: AuthInfo[UserRights] =>
203                 requireAdminRole(userAuth.user) {
204                   (
205                     sourceService.list(offset, end, sort, order, name, source).asDirective,
206                     sourceService.count(name, source).asDirective
207                   ).tupled.apply {
208                     case (sources, count) =>
209                       complete(
210                         (StatusCodes.OK, List(`X-Total-Count`(count.toString)), sources.map(AdminSourceResponse.apply))
211                       )
212                   }
213                 }
214               }
215             }
216         }
217       }
218     }
219 
220     override def getById: Route = get {
221       path("admin" / "sources" / id) { id =>
222         makeOperation("AdminSourcesGetById") { _ =>
223           makeOAuth2 { userAuth: AuthInfo[UserRights] =>
224             requireAdminRole(userAuth.user) {
225               sourceService.get(id).asDirectiveOrNotFound { source =>
226                 complete(AdminSourceResponse(source))
227               }
228             }
229           }
230         }
231       }
232     }
233 
234     override def create: Route = post {
235       path("admin" / "sources") {
236         makeOperation("AdminSourcesCreate") { _ =>
237           makeOAuth2 { userAuth: AuthInfo[UserRights] =>
238             requireAdminRole(userAuth.user) {
239               decodeRequest {
240                 entity(as[AdminSourceRequest]) { request: AdminSourceRequest =>
241                   sourceService.findBySource(request.source).asDirective {
242                     case Some(_) =>
243                       complete(
244                         StatusCodes.BadRequest -> ValidationError(
245                           "source",
246                           "already_defined",
247                           Some(s"Source ${request.source} already exists")
248                         )
249                       )
250                     case _ =>
251                       sourceService
252                         .create(name = request.name, source = request.source, userId = userAuth.user.userId)
253                         .asDirective
254                         .apply(source => complete(StatusCodes.Created, AdminSourceResponse(source)))
255                   }
256                 }
257               }
258             }
259           }
260         }
261       }
262     }
263 
264     override def update: Route = put {
265       path("admin" / "sources" / id) { id =>
266         makeOperation("AdminSourcesUpdate") { _ =>
267           makeOAuth2 { userAuth: AuthInfo[UserRights] =>
268             requireAdminRole(userAuth.user) {
269               decodeRequest {
270                 entity(as[AdminSourceRequest]) { request: AdminSourceRequest =>
271                   sourceService.findBySource(request.source).asDirective {
272                     case Some(source) if source.id != id =>
273                       complete(
274                         StatusCodes.BadRequest -> ValidationError(
275                           "source",
276                           "already_defined",
277                           Some(s"Source ${request.source} already exists")
278                         )
279                       )
280                     case _ =>
281                       sourceService
282                         .update(id = id, name = request.name, source = request.source, userId = userAuth.user.userId)
283                         .asDirectiveOrNotFound
284                         .apply(source => complete(AdminSourceResponse(source)))
285                   }
286                 }
287               }
288             }
289           }
290         }
291       }
292     }
293 
294   }
295 
296 }
297 
298 final case class AdminSourceRequest(name: String, source: String)
299 
300 object AdminSourceRequest {
301   implicit val codec: Codec[AdminSourceRequest] = deriveCodec
302 }
303 
304 final case class AdminSourceResponse(
305   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555", required = true)
306   id: SourceId,
307   name: String,
308   source: String
309 )
310 
311 object AdminSourceResponse {
312 
313   def apply(source: Source): AdminSourceResponse =
314     AdminSourceResponse(id = source.id, name = source.name, source = source.source)
315 
316   implicit val codec: Codec[AdminSourceResponse] = deriveCodec
317 
318 }
Line Stmt Id Pos Tree Symbol Tests Code
161 40636 5149 - 5155 Select org.make.api.widget.AdminSourceApi.update org.make.api.widget.adminsourceapitest AdminSourceApi.this.update
161 39006 5123 - 5137 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.widget.adminsourceapitest AdminSourceApi.this._enhanceRouteWithConcatenation(AdminSourceApi.this.list).~(AdminSourceApi.this.getById)
161 34104 5123 - 5127 Select org.make.api.widget.AdminSourceApi.list org.make.api.widget.adminsourceapitest AdminSourceApi.this.list
161 31097 5140 - 5146 Select org.make.api.widget.AdminSourceApi.create org.make.api.widget.adminsourceapitest AdminSourceApi.this.create
161 32739 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 48194 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)
161 47126 5130 - 5137 Select org.make.api.widget.AdminSourceApi.getById org.make.api.widget.adminsourceapitest AdminSourceApi.this.getById
179 47598 5563 - 5566 Apply org.make.api.widget.DefaultAdminSourceApiComponent.$anon.<init> org.make.api.widget.adminsourceapitest new $anon()
181 33239 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)))
181 45548 5630 - 5637 Select akka.http.scaladsl.server.PathMatchers.Segment org.make.api.widget.adminsourceapitest $anon.this.Segment
181 37951 5642 - 5656 Apply org.make.core.widget.SourceId.apply org.make.api.widget.adminsourceapitest org.make.core.widget.SourceId.apply(value)
183 47164 5690 - 5693 Select akka.http.scaladsl.server.directives.MethodDirectives.get org.make.api.widget.adminsourceapitest $anon.this.get
183 37003 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]])))) })))))))))))
184 44592 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 31137 5717 - 5726 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.widget.adminsourceapitest $anon.this._segmentStringToPathMatcher("sources")
184 38760 5707 - 5714 Literal <nosymbol> org.make.api.widget.adminsourceapitest "admin"
184 32234 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 47677 5715 - 5715 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.widget.adminsourceapitest TupleOps.this.Join.join0P[Unit]
184 39793 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 46909 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 39333 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 33282 5791 - 5791 Select org.make.core.ParameterExtractors.startFromIntUnmarshaller org.make.api.widget.adminsourceapitest DefaultAdminSourceApiComponent.this.startFromIntUnmarshaller
186 37708 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 45588 5760 - 5768 Literal <nosymbol> org.make.api.widget.adminsourceapitest "_start"
186 38796 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 46335 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)
187 32687 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 39840 5830 - 5830 Select org.make.core.ParameterExtractors.endFromIntUnmarshaller org.make.api.widget.adminsourceapitest DefaultAdminSourceApiComponent.this.endFromIntUnmarshaller
187 45333 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))
187 43706 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 31174 5804 - 5810 Literal <nosymbol> org.make.api.widget.adminsourceapitest "_end"
188 37200 5843 - 5850 Literal <nosymbol> org.make.api.widget.adminsourceapitest "_sort"
188 47122 5851 - 5851 TypeApply akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller org.make.api.widget.adminsourceapitest unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
188 34346 5843 - 5852 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.widget.adminsourceapitest $anon.this._string2NR("_sort").?
188 39543 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 30924 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]))
189 43742 5864 - 5872 Literal <nosymbol> org.make.api.widget.adminsourceapitest "_order"
189 40897 5864 - 5884 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.widget.adminsourceapitest $anon.this._string2NR("_order").as[org.make.core.Order].?
189 38268 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 32729 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]))
189 46088 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])))
190 44808 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 31131 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])
190 46870 5896 - 5904 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.widget.adminsourceapitest $anon.this._string2NR("name").?
190 39297 5903 - 5903 TypeApply akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller org.make.api.widget.adminsourceapitest unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
190 50299 5896 - 5902 Literal <nosymbol> org.make.api.widget.adminsourceapitest "name"
191 45839 5925 - 5925 TypeApply akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller org.make.api.widget.adminsourceapitest unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
191 40937 5916 - 5924 Literal <nosymbol> org.make.api.widget.adminsourceapitest "source"
191 37701 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 51364 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]))
191 32774 5916 - 5926 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.widget.adminsourceapitest $anon.this._string2NR("source").?
192 31474 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 39084 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 32522 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 40420 6203 - 6203 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.widget.adminsourceapitest DefaultAdminSourceApiComponent.this.makeOperation$default$3
201 30876 6217 - 6235 Literal <nosymbol> org.make.api.widget.adminsourceapitest "AdminSourcesList"
201 45326 6216 - 6216 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.widget.adminsourceapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
201 44249 6203 - 6203 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.widget.adminsourceapitest DefaultAdminSourceApiComponent.this.makeOperation$default$2
202 37453 6258 - 6268 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.widget.adminsourceapitest DefaultAdminSourceApiComponent.this.makeOAuth2
202 43505 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 50796 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 39089 6321 - 6352 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)
203 51388 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]])))) })))
203 46950 6338 - 6351 Select scalaoauth2.provider.AuthInfo.user userAuth.user
204 45079 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 44003 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 30917 6395 - 6453 Apply org.make.api.widget.SourceService.list DefaultAdminSourceApiComponent.this.sourceService.list(offset, end, sort, order, name, source)
206 35872 6487 - 6520 Apply org.make.api.widget.SourceService.count DefaultAdminSourceApiComponent.this.sourceService.count(name, source)
206 32558 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
207 47424 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 37285 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]])))) }))
207 37494 6553 - 6553 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
207 50291 6553 - 6553 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
207 38579 6553 - 6553 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[(Seq[org.make.core.widget.Source], Int)]
209 45587 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 44042 6707 - 6721 Apply scala.Any.toString count.toString()
210 35907 6691 - 6722 Apply akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply org.make.api.technical.X-Total-Count.apply(count.toString())
210 39041 6669 - 6669 ApplyToImplicitArgs io.circe.Encoder.encodeSeq circe.this.Encoder.encodeSeq[org.make.api.widget.AdminSourceResponse](widget.this.AdminSourceResponse.codec)
210 37528 6725 - 6763 Apply scala.collection.IterableOps.map sources.map[org.make.api.widget.AdminSourceResponse](((source: org.make.core.widget.Source) => AdminSourceResponse.apply(source)))
210 47465 6669 - 6669 Select org.make.api.widget.AdminSourceResponse.codec widget.this.AdminSourceResponse.codec
210 32518 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 36971 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 45117 6737 - 6762 Apply org.make.api.widget.AdminSourceResponse.apply AdminSourceResponse.apply(source)
210 30666 6670 - 6684 Select akka.http.scaladsl.model.StatusCodes.OK akka.http.scaladsl.model.StatusCodes.OK
210 30702 6669 - 6669 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultAdminSourceApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminSourceResponse]]
210 51349 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 33034 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 44832 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 32269 6916 - 6919 Select akka.http.scaladsl.server.directives.MethodDirectives.get org.make.api.widget.adminsourceapitest $anon.this.get
220 30493 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]))))))))))))))
221 43543 6955 - 6957 Select org.make.api.widget.DefaultAdminSourceApiComponent.$anon.id org.make.api.widget.adminsourceapitest $anon.this.id
221 45627 6933 - 6940 Literal <nosymbol> org.make.api.widget.adminsourceapitest "admin"
221 35662 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 38832 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 51144 6941 - 6941 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.widget.adminsourceapitest TupleOps.this.Join.join0P[Unit]
221 37489 6943 - 6952 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.widget.adminsourceapitest $anon.this._segmentStringToPathMatcher("sources")
221 36768 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 44034 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,)]))
221 31216 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,)])
222 49532 6989 - 7010 Literal <nosymbol> org.make.api.widget.adminsourceapitest "AdminSourcesGetById"
222 45665 6975 - 6975 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.widget.adminsourceapitest DefaultAdminSourceApiComponent.this.makeOperation$default$2
222 50590 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 37237 6975 - 6975 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.widget.adminsourceapitest DefaultAdminSourceApiComponent.this.makeOperation$default$3
222 43535 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 42751 6988 - 6988 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.widget.adminsourceapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
223 30698 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 50379 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])))))))))
223 38871 7029 - 7039 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.widget.adminsourceapitest DefaultAdminSourceApiComponent.this.makeOAuth2
224 38342 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])))))))
224 43780 7105 - 7118 Select scalaoauth2.provider.AuthInfo.user userAuth.user
224 36210 7088 - 7119 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)
225 45414 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
225 49571 7136 - 7157 Apply org.make.api.widget.SourceService.get DefaultAdminSourceApiComponent.this.sourceService.get(id)
225 44899 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 37279 7158 - 7158 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.widget.Source]
226 43823 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 31774 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 36720 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])))
226 43496 7236 - 7236 Select org.make.api.widget.AdminSourceResponse.codec widget.this.AdminSourceResponse.codec
226 50048 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 50335 7217 - 7244 Apply org.make.api.widget.AdminSourceResponse.apply AdminSourceResponse.apply(source)
226 38914 7236 - 7236 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]
234 44876 7346 - 7350 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.widget.adminsourceapitest $anon.this.post
234 51257 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 45364 7372 - 7372 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.widget.adminsourceapitest TupleOps.this.Join.join0P[Unit]
235 33596 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 36754 7364 - 7371 Literal <nosymbol> org.make.api.widget.adminsourceapitest "admin"
235 50085 7374 - 7383 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.widget.adminsourceapitest $anon.this._segmentStringToPathMatcher("sources")
235 51170 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 37069 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])
236 30957 7395 - 7395 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.widget.adminsourceapitest DefaultAdminSourceApiComponent.this.makeOperation$default$3
236 36789 7408 - 7408 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.widget.adminsourceapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
236 41483 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 35140 7395 - 7395 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.widget.adminsourceapitest DefaultAdminSourceApiComponent.this.makeOperation$default$2
236 43292 7409 - 7429 Literal <nosymbol> org.make.api.widget.adminsourceapitest "AdminSourcesCreate"
236 43609 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)
237 49608 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])))) }))))))))
237 49835 7448 - 7458 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.widget.adminsourceapitest DefaultAdminSourceApiComponent.this.makeOAuth2
237 45407 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]]
238 50932 7507 - 7538 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)
238 36307 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 37529 7524 - 7537 Select scalaoauth2.provider.AuthInfo.user userAuth.user
239 44699 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 43329 7555 - 7568 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest $anon.this.decodeRequest
240 47993 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 49314 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 34899 7596 - 7596 Select org.make.api.widget.AdminSourceRequest.codec widget.this.AdminSourceRequest.codec
240 30999 7596 - 7596 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec)
240 41454 7593 - 7593 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.widget.AdminSourceRequest]
240 36557 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 43818 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))
241 37572 7696 - 7710 Select org.make.api.widget.AdminSourceRequest.source request.source
241 35481 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 43083 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 50374 7669 - 7711 Apply org.make.api.widget.SourceService.findBySource DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)
241 34933 7712 - 7712 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Option[org.make.core.widget.Source]]
243 49826 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 30740 7818 - 7840 Select akka.http.scaladsl.model.StatusCodes.BadRequest akka.http.scaladsl.model.StatusCodes.BadRequest
244 37064 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))))
244 34701 7841 - 7841 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]
244 43604 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 41489 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 37039 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 42517 7841 - 7841 Select org.make.core.ValidationError.codec core.this.ValidationError.codec
244 48035 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 51426 7841 - 7841 TypeApply scala.Predef.$conforms scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
245 44868 7887 - 7895 Literal <nosymbol> "source"
246 35992 7923 - 7940 Literal <nosymbol> "already_defined"
247 49082 7968 - 8016 Apply scala.Some.apply scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String))
252 50155 8220 - 8240 Select org.make.core.auth.UserRights.userId userAuth.user.userId
252 43040 8119 - 8241 Apply org.make.api.widget.SourceService.create DefaultAdminSourceApiComponent.this.sourceService.create(request.name, request.source, userAuth.user.userId)
252 38125 8195 - 8209 Select org.make.api.widget.AdminSourceRequest.source request.source
252 41522 8172 - 8184 Select org.make.api.widget.AdminSourceRequest.name request.name
253 47526 8267 - 8267 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.widget.Source]
253 35442 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 35776 8350 - 8377 Apply org.make.api.widget.AdminSourceResponse.apply AdminSourceResponse.apply(source)
254 43073 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 51213 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 41986 8328 - 8328 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]
254 44660 8329 - 8348 Select akka.http.scaladsl.model.StatusCodes.Created akka.http.scaladsl.model.StatusCodes.Created
254 49570 8328 - 8328 Select org.make.api.widget.AdminSourceResponse.codec widget.this.AdminSourceResponse.codec
254 38161 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])
264 35526 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 42823 8518 - 8521 Select akka.http.scaladsl.server.directives.MethodDirectives.put org.make.api.widget.adminsourceapitest $anon.this.put
265 51169 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 48029 8545 - 8554 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.widget.adminsourceapitest $anon.this._segmentStringToPathMatcher("sources")
265 43112 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 35229 8535 - 8542 Literal <nosymbol> org.make.api.widget.adminsourceapitest "admin"
265 33634 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 41236 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 36343 8557 - 8559 Select org.make.api.widget.DefaultAdminSourceApiComponent.$anon.id org.make.api.widget.adminsourceapitest $anon.this.id
265 43864 8543 - 8543 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.widget.adminsourceapitest TupleOps.this.Join.join0P[Unit]
265 49647 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,)]
266 46502 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 34722 8577 - 8577 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.widget.adminsourceapitest DefaultAdminSourceApiComponent.this.makeOperation$default$2
266 42859 8591 - 8611 Literal <nosymbol> org.make.api.widget.adminsourceapitest "AdminSourcesUpdate"
266 35771 8590 - 8590 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.widget.adminsourceapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
266 47778 8577 - 8577 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.widget.adminsourceapitest DefaultAdminSourceApiComponent.this.makeOperation$default$3
266 43908 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)
267 49403 8630 - 8640 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.widget.adminsourceapitest DefaultAdminSourceApiComponent.this.makeOAuth2
267 33160 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 41270 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]]
268 41065 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])))))) }))))))
268 51206 8689 - 8720 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminSourceApiComponent.this.requireAdminRole(userAuth.user)
268 33390 8706 - 8719 Select scalaoauth2.provider.AuthInfo.user userAuth.user
269 49185 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])))))) })))))
269 42311 8737 - 8750 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest $anon.this.decodeRequest
270 48857 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 32833 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 41039 8775 - 8775 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.widget.AdminSourceRequest]
270 34486 8778 - 8778 Select org.make.api.widget.AdminSourceRequest.codec widget.this.AdminSourceRequest.codec
270 40700 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))
270 47817 8778 - 8778 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultAdminSourceApiComponent.this.unmarshaller[org.make.api.widget.AdminSourceRequest](widget.this.AdminSourceRequest.codec)
270 36835 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)))
271 43366 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 35222 8894 - 8894 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Option[org.make.core.widget.Source]]
271 39965 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 51251 8851 - 8893 Apply org.make.api.widget.SourceService.findBySource DefaultAdminSourceApiComponent.this.sourceService.findBySource(request.source)
271 33426 8878 - 8892 Select org.make.api.widget.AdminSourceRequest.source request.source
272 47573 8949 - 8964 Apply java.lang.Object.!= source.id.!=(id)
273 41521 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 34975 9047 - 9047 Select org.make.core.ValidationError.codec core.this.ValidationError.codec
274 47266 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 43408 9047 - 9047 TypeApply scala.Predef.$conforms scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
274 49395 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])))
274 40776 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 36625 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 40737 9024 - 9046 Select akka.http.scaladsl.model.StatusCodes.BadRequest akka.http.scaladsl.model.StatusCodes.BadRequest
274 34235 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 48321 9047 - 9047 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.core.ValidationError]
275 36875 9093 - 9101 Literal <nosymbol> "source"
276 49352 9129 - 9146 Literal <nosymbol> "already_defined"
277 41771 9174 - 9222 Apply scala.Some.apply scala.Some.apply[String](("Source ".+(request.source).+(" already exists"): String))
282 33377 9387 - 9399 Select org.make.api.widget.AdminSourceRequest.name request.name
282 35012 9325 - 9456 Apply org.make.api.widget.SourceService.update DefaultAdminSourceApiComponent.this.sourceService.update(id, request.name, request.source, userAuth.user.userId)
282 42611 9435 - 9455 Select org.make.core.auth.UserRights.userId userAuth.user.userId
282 47308 9410 - 9424 Select org.make.api.widget.AdminSourceRequest.source request.source
283 47810 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
283 39926 9482 - 9482 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.widget.Source]
284 47562 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 49152 9573 - 9573 Select org.make.api.widget.AdminSourceResponse.codec widget.this.AdminSourceResponse.codec
284 41562 9573 - 9573 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultAdminSourceApiComponent.this.marshaller$default$2[org.make.api.widget.AdminSourceResponse]
284 36666 9554 - 9581 Apply org.make.api.widget.AdminSourceResponse.apply AdminSourceResponse.apply(source)
284 34769 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 42646 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 46465 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 33420 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])
301 39719 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 49949 10192 - 10203 Select org.make.core.widget.Source.name source.name
314 33201 10149 - 10228 Apply org.make.api.widget.AdminSourceResponse.apply AdminSourceResponse.apply(source.id, source.name, source.source)
314 32872 10174 - 10183 Select org.make.core.widget.Source.id source.id
314 41517 10214 - 10227 Select org.make.core.widget.Source.source source.source
316 47009 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) })