| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
129
|
38070
|
4147
-
4201
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.technical.crmapitest
|
CrmApi.this._enhanceRouteWithConcatenation(CrmApi.this._enhanceRouteWithConcatenation(CrmApi.this._enhanceRouteWithConcatenation(CrmApi.this.webHook).~(CrmApi.this.syncCrmData)).~(CrmApi.this.anonymizeUsers)).~(CrmApi.this.sendListToCrm)
|
|
129
|
41892
|
4188
-
4201
|
Select
|
org.make.api.technical.crm.CrmApi.sendListToCrm
|
org.make.api.technical.crmapitest
|
CrmApi.this.sendListToCrm
|
|
129
|
35360
|
4147
-
4154
|
Select
|
org.make.api.technical.crm.CrmApi.webHook
|
org.make.api.technical.crmapitest
|
CrmApi.this.webHook
|
|
129
|
49751
|
4147
-
4185
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.technical.crmapitest
|
CrmApi.this._enhanceRouteWithConcatenation(CrmApi.this._enhanceRouteWithConcatenation(CrmApi.this.webHook).~(CrmApi.this.syncCrmData)).~(CrmApi.this.anonymizeUsers)
|
|
129
|
44564
|
4147
-
4168
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.technical.crmapitest
|
CrmApi.this._enhanceRouteWithConcatenation(CrmApi.this.webHook).~(CrmApi.this.syncCrmData)
|
|
129
|
36991
|
4171
-
4185
|
Select
|
org.make.api.technical.crm.CrmApi.anonymizeUsers
|
org.make.api.technical.crmapitest
|
CrmApi.this.anonymizeUsers
|
|
129
|
47972
|
4157
-
4168
|
Select
|
org.make.api.technical.crm.CrmApi.syncCrmData
|
org.make.api.technical.crmapitest
|
CrmApi.this.syncCrmData
|
|
149
|
51102
|
4754
-
4789
|
Select
|
org.make.api.extensions.MailJetConfiguration.basicAuthLogin
|
org.make.api.technical.crmapitest
|
DefaultCrmApiComponent.this.mailJetConfiguration.basicAuthLogin
|
|
150
|
42983
|
4811
-
4849
|
Select
|
org.make.api.extensions.MailJetConfiguration.basicAuthPassword
|
org.make.api.technical.crmapitest
|
DefaultCrmApiComponent.this.mailJetConfiguration.basicAuthPassword
|
|
152
|
35398
|
4933
-
4939
|
Apply
|
java.lang.String.trim
|
org.make.api.technical.crmapitest
|
x$1.trim()
|
|
152
|
44594
|
4944
-
4954
|
Apply
|
scala.Some.apply
|
org.make.api.technical.crmapitest
|
scala.Some.apply[String]("OK")
|
|
152
|
48425
|
4914
-
4940
|
Apply
|
akka.http.scaladsl.server.directives.Credentials.Provided.verify
|
org.make.api.technical.crmapitest
|
c.verify(password, ((x$1: String) => x$1.trim()))
|
|
153
|
37027
|
5023
-
5027
|
Select
|
scala.None
|
org.make.api.technical.crmapitest
|
scala.None
|
|
158
|
41966
|
5085
-
7287
|
Apply
|
scala.Function1.apply
|
org.make.api.technical.crmapitest
|
server.this.Directive.addByNameNullaryApply(DefaultCrmApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultCrmApi.this.path[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("technical")./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("mailjet"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("mailjet-webhook", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(String,)](DefaultCrmApi.this.authenticateBasic[String]("make-mailjet", ((credentials: akka.http.scaladsl.server.directives.Credentials) => DefaultCrmApi.this.authenticate(credentials))))(util.this.ApplyConverter.hac1[String]).apply(((x$3: String) => server.this.Directive.addByNameNullaryApply(DefaultCrmApi.this.decodeRequest).apply(DefaultCrmApi.this._enhanceRouteWithConcatenation(server.this.Directive.addDirectiveApply[(Seq[org.make.api.technical.crm.MailJetEvent],)](DefaultCrmApi.this.entity[Seq[org.make.api.technical.crm.MailJetEvent]](DefaultCrmApi.this.as[Seq[org.make.api.technical.crm.MailJetEvent]](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](DefaultCrmApiComponent.this.unmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](circe.this.Decoder.decodeSeq[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder))))))(util.this.ApplyConverter.hac1[Seq[org.make.api.technical.crm.MailJetEvent]]).apply(((events: Seq[org.make.api.technical.crm.MailJetEvent]) => {
events.foreach[Unit](((event: org.make.api.technical.crm.MailJetEvent) => {
org.make.core.Validation.validateOptional(scala.Some.apply[org.make.core.Requirement]({
<artifact> val x$1: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => event.email);
<artifact> val x$2: String("email") = "email";
<artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid email");
org.make.core.Validation.validateUserInput("email", x$1.apply(), x$3)
}), event.customCampaign.map[org.make.core.Requirement](((customCampaign: String) => {
<artifact> val x$4: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => customCampaign);
<artifact> val x$5: String("customCampaign") = "customCampaign";
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid customCampaign");
org.make.core.Validation.validateUserInput("customCampaign", x$4.apply(), x$6)
})), event.customId.map[org.make.core.Requirement](((customId: String) => {
<artifact> val x$7: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => customId);
<artifact> val x$8: String("customId") = "customId";
<artifact> val x$9: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid customId");
org.make.core.Validation.validateUserInput("customId", x$7.apply(), x$9)
})), event.payload.map[org.make.core.Requirement](((payload: String) => {
<artifact> val x$10: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => payload);
<artifact> val x$11: String("payload") = "payload";
<artifact> val x$12: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid payload");
org.make.core.Validation.validateUserInput("payload", x$10.apply(), x$12)
})));
DefaultCrmApiComponent.this.eventBusService.publish(event)
}));
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
}))).~(server.this.Directive.addDirectiveApply[(org.make.api.technical.crm.MailJetEvent,)](DefaultCrmApi.this.entity[org.make.api.technical.crm.MailJetEvent](DefaultCrmApi.this.as[org.make.api.technical.crm.MailJetEvent](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.crm.MailJetEvent](DefaultCrmApiComponent.this.unmarshaller[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.technical.crm.MailJetEvent]).apply(((event: org.make.api.technical.crm.MailJetEvent) => {
DefaultCrmApiComponent.this.eventBusService.publish(event);
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
}))))))))))
|
|
158
|
49496
|
5085
-
5089
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.post
|
|
159
|
35145
|
5100
-
5129
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.path[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("technical")./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("mailjet"))(TupleOps.this.Join.join0P[Unit]))
|
|
159
|
49826
|
5100
-
7279
|
Apply
|
scala.Function1.apply
|
org.make.api.technical.crmapitest
|
server.this.Directive.addByNameNullaryApply(DefaultCrmApi.this.path[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("technical")./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("mailjet"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("mailjet-webhook", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(String,)](DefaultCrmApi.this.authenticateBasic[String]("make-mailjet", ((credentials: akka.http.scaladsl.server.directives.Credentials) => DefaultCrmApi.this.authenticate(credentials))))(util.this.ApplyConverter.hac1[String]).apply(((x$3: String) => server.this.Directive.addByNameNullaryApply(DefaultCrmApi.this.decodeRequest).apply(DefaultCrmApi.this._enhanceRouteWithConcatenation(server.this.Directive.addDirectiveApply[(Seq[org.make.api.technical.crm.MailJetEvent],)](DefaultCrmApi.this.entity[Seq[org.make.api.technical.crm.MailJetEvent]](DefaultCrmApi.this.as[Seq[org.make.api.technical.crm.MailJetEvent]](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](DefaultCrmApiComponent.this.unmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](circe.this.Decoder.decodeSeq[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder))))))(util.this.ApplyConverter.hac1[Seq[org.make.api.technical.crm.MailJetEvent]]).apply(((events: Seq[org.make.api.technical.crm.MailJetEvent]) => {
events.foreach[Unit](((event: org.make.api.technical.crm.MailJetEvent) => {
org.make.core.Validation.validateOptional(scala.Some.apply[org.make.core.Requirement]({
<artifact> val x$1: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => event.email);
<artifact> val x$2: String("email") = "email";
<artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid email");
org.make.core.Validation.validateUserInput("email", x$1.apply(), x$3)
}), event.customCampaign.map[org.make.core.Requirement](((customCampaign: String) => {
<artifact> val x$4: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => customCampaign);
<artifact> val x$5: String("customCampaign") = "customCampaign";
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid customCampaign");
org.make.core.Validation.validateUserInput("customCampaign", x$4.apply(), x$6)
})), event.customId.map[org.make.core.Requirement](((customId: String) => {
<artifact> val x$7: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => customId);
<artifact> val x$8: String("customId") = "customId";
<artifact> val x$9: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid customId");
org.make.core.Validation.validateUserInput("customId", x$7.apply(), x$9)
})), event.payload.map[org.make.core.Requirement](((payload: String) => {
<artifact> val x$10: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => payload);
<artifact> val x$11: String("payload") = "payload";
<artifact> val x$12: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid payload");
org.make.core.Validation.validateUserInput("payload", x$10.apply(), x$12)
})));
DefaultCrmApiComponent.this.eventBusService.publish(event)
}));
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
}))).~(server.this.Directive.addDirectiveApply[(org.make.api.technical.crm.MailJetEvent,)](DefaultCrmApi.this.entity[org.make.api.technical.crm.MailJetEvent](DefaultCrmApi.this.as[org.make.api.technical.crm.MailJetEvent](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.crm.MailJetEvent](DefaultCrmApiComponent.this.unmarshaller[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.technical.crm.MailJetEvent]).apply(((event: org.make.api.technical.crm.MailJetEvent) => {
DefaultCrmApiComponent.this.eventBusService.publish(event);
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
})))))))))
|
|
159
|
43019
|
5105
-
5128
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this._segmentStringToPathMatcher("technical")./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("mailjet"))(TupleOps.this.Join.join0P[Unit])
|
|
159
|
33520
|
5119
-
5128
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this._segmentStringToPathMatcher("mailjet")
|
|
159
|
41929
|
5105
-
5116
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"technical"
|
|
159
|
51134
|
5117
-
5117
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.technical.crmapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
160
|
43752
|
5142
-
5142
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.technical.crmapitest
|
DefaultCrmApiComponent.this.makeOperation$default$2
|
|
160
|
32794
|
5142
-
7269
|
Apply
|
scala.Function1.apply
|
org.make.api.technical.crmapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("mailjet-webhook", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(String,)](DefaultCrmApi.this.authenticateBasic[String]("make-mailjet", ((credentials: akka.http.scaladsl.server.directives.Credentials) => DefaultCrmApi.this.authenticate(credentials))))(util.this.ApplyConverter.hac1[String]).apply(((x$3: String) => server.this.Directive.addByNameNullaryApply(DefaultCrmApi.this.decodeRequest).apply(DefaultCrmApi.this._enhanceRouteWithConcatenation(server.this.Directive.addDirectiveApply[(Seq[org.make.api.technical.crm.MailJetEvent],)](DefaultCrmApi.this.entity[Seq[org.make.api.technical.crm.MailJetEvent]](DefaultCrmApi.this.as[Seq[org.make.api.technical.crm.MailJetEvent]](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](DefaultCrmApiComponent.this.unmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](circe.this.Decoder.decodeSeq[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder))))))(util.this.ApplyConverter.hac1[Seq[org.make.api.technical.crm.MailJetEvent]]).apply(((events: Seq[org.make.api.technical.crm.MailJetEvent]) => {
events.foreach[Unit](((event: org.make.api.technical.crm.MailJetEvent) => {
org.make.core.Validation.validateOptional(scala.Some.apply[org.make.core.Requirement]({
<artifact> val x$1: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => event.email);
<artifact> val x$2: String("email") = "email";
<artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid email");
org.make.core.Validation.validateUserInput("email", x$1.apply(), x$3)
}), event.customCampaign.map[org.make.core.Requirement](((customCampaign: String) => {
<artifact> val x$4: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => customCampaign);
<artifact> val x$5: String("customCampaign") = "customCampaign";
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid customCampaign");
org.make.core.Validation.validateUserInput("customCampaign", x$4.apply(), x$6)
})), event.customId.map[org.make.core.Requirement](((customId: String) => {
<artifact> val x$7: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => customId);
<artifact> val x$8: String("customId") = "customId";
<artifact> val x$9: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid customId");
org.make.core.Validation.validateUserInput("customId", x$7.apply(), x$9)
})), event.payload.map[org.make.core.Requirement](((payload: String) => {
<artifact> val x$10: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => payload);
<artifact> val x$11: String("payload") = "payload";
<artifact> val x$12: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid payload");
org.make.core.Validation.validateUserInput("payload", x$10.apply(), x$12)
})));
DefaultCrmApiComponent.this.eventBusService.publish(event)
}));
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
}))).~(server.this.Directive.addDirectiveApply[(org.make.api.technical.crm.MailJetEvent,)](DefaultCrmApi.this.entity[org.make.api.technical.crm.MailJetEvent](DefaultCrmApi.this.as[org.make.api.technical.crm.MailJetEvent](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.crm.MailJetEvent](DefaultCrmApiComponent.this.unmarshaller[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.technical.crm.MailJetEvent]).apply(((event: org.make.api.technical.crm.MailJetEvent) => {
DefaultCrmApiComponent.this.eventBusService.publish(event);
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
}))))))))
|
|
160
|
49535
|
5142
-
5174
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.technical.crmapitest
|
DefaultCrmApiComponent.this.makeOperation("mailjet-webhook", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3)
|
|
160
|
41687
|
5155
-
5155
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.technical.crmapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
160
|
36261
|
5142
-
5142
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.technical.crmapitest
|
DefaultCrmApiComponent.this.makeOperation$default$3
|
|
160
|
47927
|
5156
-
5173
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"mailjet-webhook"
|
|
161
|
35184
|
5219
-
5219
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.technical.crmapitest
|
util.this.ApplyConverter.hac1[String]
|
|
161
|
42767
|
5194
-
5249
|
Apply
|
akka.http.scaladsl.server.directives.SecurityDirectives.authenticateBasic
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.authenticateBasic[String]("make-mailjet", ((credentials: akka.http.scaladsl.server.directives.Credentials) => DefaultCrmApi.this.authenticate(credentials)))
|
|
161
|
50587
|
5236
-
5248
|
Apply
|
org.make.api.technical.crm.DefaultCrmApiComponent.DefaultCrmApi.authenticate
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.authenticate(credentials)
|
|
161
|
40939
|
5194
-
7257
|
Apply
|
scala.Function1.apply
|
org.make.api.technical.crmapitest
|
server.this.Directive.addDirectiveApply[(String,)](DefaultCrmApi.this.authenticateBasic[String]("make-mailjet", ((credentials: akka.http.scaladsl.server.directives.Credentials) => DefaultCrmApi.this.authenticate(credentials))))(util.this.ApplyConverter.hac1[String]).apply(((x$3: String) => server.this.Directive.addByNameNullaryApply(DefaultCrmApi.this.decodeRequest).apply(DefaultCrmApi.this._enhanceRouteWithConcatenation(server.this.Directive.addDirectiveApply[(Seq[org.make.api.technical.crm.MailJetEvent],)](DefaultCrmApi.this.entity[Seq[org.make.api.technical.crm.MailJetEvent]](DefaultCrmApi.this.as[Seq[org.make.api.technical.crm.MailJetEvent]](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](DefaultCrmApiComponent.this.unmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](circe.this.Decoder.decodeSeq[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder))))))(util.this.ApplyConverter.hac1[Seq[org.make.api.technical.crm.MailJetEvent]]).apply(((events: Seq[org.make.api.technical.crm.MailJetEvent]) => {
events.foreach[Unit](((event: org.make.api.technical.crm.MailJetEvent) => {
org.make.core.Validation.validateOptional(scala.Some.apply[org.make.core.Requirement]({
<artifact> val x$1: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => event.email);
<artifact> val x$2: String("email") = "email";
<artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid email");
org.make.core.Validation.validateUserInput("email", x$1.apply(), x$3)
}), event.customCampaign.map[org.make.core.Requirement](((customCampaign: String) => {
<artifact> val x$4: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => customCampaign);
<artifact> val x$5: String("customCampaign") = "customCampaign";
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid customCampaign");
org.make.core.Validation.validateUserInput("customCampaign", x$4.apply(), x$6)
})), event.customId.map[org.make.core.Requirement](((customId: String) => {
<artifact> val x$7: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => customId);
<artifact> val x$8: String("customId") = "customId";
<artifact> val x$9: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid customId");
org.make.core.Validation.validateUserInput("customId", x$7.apply(), x$9)
})), event.payload.map[org.make.core.Requirement](((payload: String) => {
<artifact> val x$10: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => payload);
<artifact> val x$11: String("payload") = "payload";
<artifact> val x$12: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid payload");
org.make.core.Validation.validateUserInput("payload", x$10.apply(), x$12)
})));
DefaultCrmApiComponent.this.eventBusService.publish(event)
}));
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
}))).~(server.this.Directive.addDirectiveApply[(org.make.api.technical.crm.MailJetEvent,)](DefaultCrmApi.this.entity[org.make.api.technical.crm.MailJetEvent](DefaultCrmApi.this.as[org.make.api.technical.crm.MailJetEvent](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.crm.MailJetEvent](DefaultCrmApiComponent.this.unmarshaller[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.technical.crm.MailJetEvent]).apply(((event: org.make.api.technical.crm.MailJetEvent) => {
DefaultCrmApiComponent.this.eventBusService.publish(event);
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
}))))))
|
|
161
|
33558
|
5220
-
5234
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"make-mailjet"
|
|
162
|
47671
|
5277
-
5290
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.decodeRequest
|
|
162
|
47494
|
5277
-
7243
|
Apply
|
scala.Function1.apply
|
org.make.api.technical.crmapitest
|
server.this.Directive.addByNameNullaryApply(DefaultCrmApi.this.decodeRequest).apply(DefaultCrmApi.this._enhanceRouteWithConcatenation(server.this.Directive.addDirectiveApply[(Seq[org.make.api.technical.crm.MailJetEvent],)](DefaultCrmApi.this.entity[Seq[org.make.api.technical.crm.MailJetEvent]](DefaultCrmApi.this.as[Seq[org.make.api.technical.crm.MailJetEvent]](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](DefaultCrmApiComponent.this.unmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](circe.this.Decoder.decodeSeq[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder))))))(util.this.ApplyConverter.hac1[Seq[org.make.api.technical.crm.MailJetEvent]]).apply(((events: Seq[org.make.api.technical.crm.MailJetEvent]) => {
events.foreach[Unit](((event: org.make.api.technical.crm.MailJetEvent) => {
org.make.core.Validation.validateOptional(scala.Some.apply[org.make.core.Requirement]({
<artifact> val x$1: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => event.email);
<artifact> val x$2: String("email") = "email";
<artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid email");
org.make.core.Validation.validateUserInput("email", x$1.apply(), x$3)
}), event.customCampaign.map[org.make.core.Requirement](((customCampaign: String) => {
<artifact> val x$4: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => customCampaign);
<artifact> val x$5: String("customCampaign") = "customCampaign";
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid customCampaign");
org.make.core.Validation.validateUserInput("customCampaign", x$4.apply(), x$6)
})), event.customId.map[org.make.core.Requirement](((customId: String) => {
<artifact> val x$7: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => customId);
<artifact> val x$8: String("customId") = "customId";
<artifact> val x$9: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid customId");
org.make.core.Validation.validateUserInput("customId", x$7.apply(), x$9)
})), event.payload.map[org.make.core.Requirement](((payload: String) => {
<artifact> val x$10: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => payload);
<artifact> val x$11: String("payload") = "payload";
<artifact> val x$12: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid payload");
org.make.core.Validation.validateUserInput("payload", x$10.apply(), x$12)
})));
DefaultCrmApiComponent.this.eventBusService.publish(event)
}));
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
}))).~(server.this.Directive.addDirectiveApply[(org.make.api.technical.crm.MailJetEvent,)](DefaultCrmApi.this.entity[org.make.api.technical.crm.MailJetEvent](DefaultCrmApi.this.as[org.make.api.technical.crm.MailJetEvent](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.crm.MailJetEvent](DefaultCrmApiComponent.this.unmarshaller[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.technical.crm.MailJetEvent]).apply(((event: org.make.api.technical.crm.MailJetEvent) => {
DefaultCrmApiComponent.this.eventBusService.publish(event);
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
}))))
|
|
164
|
41189
|
5319
-
5319
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
org.make.api.technical.crmapitest
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](DefaultCrmApiComponent.this.unmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](circe.this.Decoder.decodeSeq[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder)))
|
|
164
|
43793
|
5319
-
5319
|
Select
|
org.make.api.technical.crm.MailJetEvent.decoder
|
org.make.api.technical.crmapitest
|
crm.this.MailJetEvent.decoder
|
|
164
|
51090
|
5310
-
5339
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.entity[Seq[org.make.api.technical.crm.MailJetEvent]](DefaultCrmApi.this.as[Seq[org.make.api.technical.crm.MailJetEvent]](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](DefaultCrmApiComponent.this.unmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](circe.this.Decoder.decodeSeq[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder)))))
|
|
164
|
33594
|
5317
-
5338
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.as[Seq[org.make.api.technical.crm.MailJetEvent]](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](DefaultCrmApiComponent.this.unmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](circe.this.Decoder.decodeSeq[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder))))
|
|
164
|
43511
|
5316
-
5316
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.technical.crmapitest
|
util.this.ApplyConverter.hac1[Seq[org.make.api.technical.crm.MailJetEvent]]
|
|
164
|
41471
|
5310
-
7040
|
Apply
|
scala.Function1.apply
|
org.make.api.technical.crmapitest
|
server.this.Directive.addDirectiveApply[(Seq[org.make.api.technical.crm.MailJetEvent],)](DefaultCrmApi.this.entity[Seq[org.make.api.technical.crm.MailJetEvent]](DefaultCrmApi.this.as[Seq[org.make.api.technical.crm.MailJetEvent]](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](DefaultCrmApiComponent.this.unmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](circe.this.Decoder.decodeSeq[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder))))))(util.this.ApplyConverter.hac1[Seq[org.make.api.technical.crm.MailJetEvent]]).apply(((events: Seq[org.make.api.technical.crm.MailJetEvent]) => {
events.foreach[Unit](((event: org.make.api.technical.crm.MailJetEvent) => {
org.make.core.Validation.validateOptional(scala.Some.apply[org.make.core.Requirement]({
<artifact> val x$1: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => event.email);
<artifact> val x$2: String("email") = "email";
<artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid email");
org.make.core.Validation.validateUserInput("email", x$1.apply(), x$3)
}), event.customCampaign.map[org.make.core.Requirement](((customCampaign: String) => {
<artifact> val x$4: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => customCampaign);
<artifact> val x$5: String("customCampaign") = "customCampaign";
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid customCampaign");
org.make.core.Validation.validateUserInput("customCampaign", x$4.apply(), x$6)
})), event.customId.map[org.make.core.Requirement](((customId: String) => {
<artifact> val x$7: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => customId);
<artifact> val x$8: String("customId") = "customId";
<artifact> val x$9: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid customId");
org.make.core.Validation.validateUserInput("customId", x$7.apply(), x$9)
})), event.payload.map[org.make.core.Requirement](((payload: String) => {
<artifact> val x$10: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => payload);
<artifact> val x$11: String("payload") = "payload";
<artifact> val x$12: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid payload");
org.make.core.Validation.validateUserInput("payload", x$10.apply(), x$12)
})));
DefaultCrmApiComponent.this.eventBusService.publish(event)
}));
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
}))
|
|
164
|
36985
|
5319
-
5319
|
ApplyToImplicitArgs
|
io.circe.Decoder.decodeSeq
|
org.make.api.technical.crmapitest
|
circe.this.Decoder.decodeSeq[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder)
|
|
164
|
49291
|
5319
-
5319
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
org.make.api.technical.crmapitest
|
DefaultCrmApiComponent.this.unmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](circe.this.Decoder.decodeSeq[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder))
|
|
166
|
34929
|
5439
-
6979
|
Apply
|
scala.collection.IterableOnceOps.foreach
|
org.make.api.technical.crmapitest
|
events.foreach[Unit](((event: org.make.api.technical.crm.MailJetEvent) => {
org.make.core.Validation.validateOptional(scala.Some.apply[org.make.core.Requirement]({
<artifact> val x$1: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => event.email);
<artifact> val x$2: String("email") = "email";
<artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid email");
org.make.core.Validation.validateUserInput("email", x$1.apply(), x$3)
}), event.customCampaign.map[org.make.core.Requirement](((customCampaign: String) => {
<artifact> val x$4: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => customCampaign);
<artifact> val x$5: String("customCampaign") = "customCampaign";
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid customCampaign");
org.make.core.Validation.validateUserInput("customCampaign", x$4.apply(), x$6)
})), event.customId.map[org.make.core.Requirement](((customId: String) => {
<artifact> val x$7: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => customId);
<artifact> val x$8: String("customId") = "customId";
<artifact> val x$9: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid customId");
org.make.core.Validation.validateUserInput("customId", x$7.apply(), x$9)
})), event.payload.map[org.make.core.Requirement](((payload: String) => {
<artifact> val x$10: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => payload);
<artifact> val x$11: String("payload") = "payload";
<artifact> val x$12: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid payload");
org.make.core.Validation.validateUserInput("payload", x$10.apply(), x$12)
})));
DefaultCrmApiComponent.this.eventBusService.publish(event)
}))
|
|
167
|
46596
|
5485
-
6908
|
Apply
|
org.make.core.Validation.validateOptional
|
org.make.api.technical.crmapitest
|
org.make.core.Validation.validateOptional(scala.Some.apply[org.make.core.Requirement]({
<artifact> val x$1: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => event.email);
<artifact> val x$2: String("email") = "email";
<artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid email");
org.make.core.Validation.validateUserInput("email", x$1.apply(), x$3)
}), event.customCampaign.map[org.make.core.Requirement](((customCampaign: String) => {
<artifact> val x$4: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => customCampaign);
<artifact> val x$5: String("customCampaign") = "customCampaign";
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid customCampaign");
org.make.core.Validation.validateUserInput("customCampaign", x$4.apply(), x$6)
})), event.customId.map[org.make.core.Requirement](((customId: String) => {
<artifact> val x$7: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => customId);
<artifact> val x$8: String("customId") = "customId";
<artifact> val x$9: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid customId");
org.make.core.Validation.validateUserInput("customId", x$7.apply(), x$9)
})), event.payload.map[org.make.core.Requirement](((payload: String) => {
<artifact> val x$10: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => payload);
<artifact> val x$11: String("payload") = "payload";
<artifact> val x$12: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid payload");
org.make.core.Validation.validateUserInput("payload", x$10.apply(), x$12)
})))
|
|
168
|
33348
|
5536
-
5802
|
Apply
|
scala.Some.apply
|
org.make.api.technical.crmapitest
|
scala.Some.apply[org.make.core.Requirement]({
<artifact> val x$1: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => event.email);
<artifact> val x$2: String("email") = "email";
<artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid email");
org.make.core.Validation.validateUserInput("email", x$1.apply(), x$3)
})
|
|
169
|
42246
|
5566
-
5778
|
Apply
|
org.make.core.Validation.validateUserInput
|
org.make.api.technical.crmapitest
|
org.make.core.Validation.validateUserInput("email", x$1.apply(), x$3)
|
|
170
|
34944
|
5635
-
5646
|
Select
|
org.make.api.technical.crm.MailJetEvent.email
|
org.make.api.technical.crmapitest
|
event.email
|
|
170
|
50045
|
5641
-
5641
|
Apply
|
scala.Function0.apply
|
org.make.api.technical.crmapitest
|
x$1.apply()
|
|
171
|
36746
|
5686
-
5686
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"email"
|
|
171
|
47709
|
5686
-
5693
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"email"
|
|
172
|
40118
|
5731
-
5752
|
Apply
|
scala.Some.apply
|
org.make.api.technical.crmapitest
|
scala.Some.apply[String]("Invalid email")
|
|
175
|
36779
|
5826
-
6185
|
Apply
|
scala.Option.map
|
org.make.api.technical.crmapitest
|
event.customCampaign.map[org.make.core.Requirement](((customCampaign: String) => {
<artifact> val x$4: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => customCampaign);
<artifact> val x$5: String("customCampaign") = "customCampaign";
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid customCampaign");
org.make.core.Validation.validateUserInput("customCampaign", x$4.apply(), x$6)
}))
|
|
177
|
40648
|
5920
-
6161
|
Apply
|
org.make.core.Validation.validateUserInput
|
org.make.api.technical.crmapitest
|
org.make.core.Validation.validateUserInput("customCampaign", x$4.apply(), x$6)
|
|
178
|
47748
|
5991
-
5991
|
Apply
|
scala.Function0.apply
|
org.make.api.technical.crmapitest
|
x$4.apply()
|
|
179
|
35136
|
6047
-
6047
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"customCampaign"
|
|
179
|
51126
|
6047
-
6063
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"customCampaign"
|
|
180
|
43268
|
6103
-
6133
|
Apply
|
scala.Some.apply
|
org.make.api.technical.crmapitest
|
scala.Some.apply[String]("Invalid customCampaign")
|
|
183
|
34899
|
6209
-
6538
|
Apply
|
scala.Option.map
|
org.make.api.technical.crmapitest
|
event.customId.map[org.make.core.Requirement](((customId: String) => {
<artifact> val x$7: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => customId);
<artifact> val x$8: String("customId") = "customId";
<artifact> val x$9: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid customId");
org.make.core.Validation.validateUserInput("customId", x$7.apply(), x$9)
}))
|
|
185
|
43307
|
6291
-
6514
|
Apply
|
org.make.core.Validation.validateUserInput
|
org.make.api.technical.crmapitest
|
org.make.core.Validation.validateUserInput("customId", x$7.apply(), x$9)
|
|
186
|
47164
|
6362
-
6362
|
Apply
|
scala.Function0.apply
|
org.make.api.technical.crmapitest
|
x$7.apply()
|
|
187
|
34101
|
6412
-
6412
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"customId"
|
|
187
|
49798
|
6412
-
6422
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"customId"
|
|
188
|
41675
|
6462
-
6486
|
Apply
|
scala.Some.apply
|
org.make.api.technical.crmapitest
|
scala.Some.apply[String]("Invalid customId")
|
|
191
|
33852
|
6562
-
6886
|
Apply
|
scala.Option.map
|
org.make.api.technical.crmapitest
|
event.payload.map[org.make.core.Requirement](((payload: String) => {
<artifact> val x$10: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => payload);
<artifact> val x$11: String("payload") = "payload";
<artifact> val x$12: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid payload");
org.make.core.Validation.validateUserInput("payload", x$10.apply(), x$12)
}))
|
|
193
|
41713
|
6642
-
6862
|
Apply
|
org.make.core.Validation.validateUserInput
|
org.make.api.technical.crmapitest
|
org.make.core.Validation.validateUserInput("payload", x$10.apply(), x$12)
|
|
194
|
49279
|
6713
-
6713
|
Apply
|
scala.Function0.apply
|
org.make.api.technical.crmapitest
|
x$10.apply()
|
|
195
|
48208
|
6762
-
6771
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"payload"
|
|
195
|
36550
|
6762
-
6762
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"payload"
|
|
196
|
40075
|
6811
-
6834
|
Apply
|
scala.Some.apply
|
org.make.api.technical.crmapitest
|
scala.Some.apply[String]("Invalid payload")
|
|
200
|
43065
|
6929
-
6959
|
Apply
|
org.make.api.technical.EventBusService.publish
|
org.make.api.technical.crmapitest
|
DefaultCrmApiComponent.this.eventBusService.publish(event)
|
|
202
|
48244
|
7007
-
7021
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
org.make.api.technical.crmapitest
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
202
|
35985
|
7007
-
7021
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
org.make.api.technical.crmapitest
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)
|
|
202
|
49317
|
6998
-
7022
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
|
|
202
|
39838
|
7019
-
7019
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
org.make.api.technical.crmapitest
|
marshalling.this.Marshaller.fromStatusCode
|
|
203
|
35436
|
5310
-
7226
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this._enhanceRouteWithConcatenation(server.this.Directive.addDirectiveApply[(Seq[org.make.api.technical.crm.MailJetEvent],)](DefaultCrmApi.this.entity[Seq[org.make.api.technical.crm.MailJetEvent]](DefaultCrmApi.this.as[Seq[org.make.api.technical.crm.MailJetEvent]](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](DefaultCrmApiComponent.this.unmarshaller[Seq[org.make.api.technical.crm.MailJetEvent]](circe.this.Decoder.decodeSeq[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder))))))(util.this.ApplyConverter.hac1[Seq[org.make.api.technical.crm.MailJetEvent]]).apply(((events: Seq[org.make.api.technical.crm.MailJetEvent]) => {
events.foreach[Unit](((event: org.make.api.technical.crm.MailJetEvent) => {
org.make.core.Validation.validateOptional(scala.Some.apply[org.make.core.Requirement]({
<artifact> val x$1: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => event.email);
<artifact> val x$2: String("email") = "email";
<artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid email");
org.make.core.Validation.validateUserInput("email", x$1.apply(), x$3)
}), event.customCampaign.map[org.make.core.Requirement](((customCampaign: String) => {
<artifact> val x$4: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => customCampaign);
<artifact> val x$5: String("customCampaign") = "customCampaign";
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid customCampaign");
org.make.core.Validation.validateUserInput("customCampaign", x$4.apply(), x$6)
})), event.customId.map[org.make.core.Requirement](((customId: String) => {
<artifact> val x$7: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => customId);
<artifact> val x$8: String("customId") = "customId";
<artifact> val x$9: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid customId");
org.make.core.Validation.validateUserInput("customId", x$7.apply(), x$9)
})), event.payload.map[org.make.core.Requirement](((payload: String) => {
<artifact> val x$10: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => payload);
<artifact> val x$11: String("payload") = "payload";
<artifact> val x$12: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid payload");
org.make.core.Validation.validateUserInput("payload", x$10.apply(), x$12)
})));
DefaultCrmApiComponent.this.eventBusService.publish(event)
}));
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
}))).~(server.this.Directive.addDirectiveApply[(org.make.api.technical.crm.MailJetEvent,)](DefaultCrmApi.this.entity[org.make.api.technical.crm.MailJetEvent](DefaultCrmApi.this.as[org.make.api.technical.crm.MailJetEvent](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.crm.MailJetEvent](DefaultCrmApiComponent.this.unmarshaller[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.technical.crm.MailJetEvent]).apply(((event: org.make.api.technical.crm.MailJetEvent) => {
DefaultCrmApiComponent.this.eventBusService.publish(event);
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
})))
|
|
204
|
46363
|
7070
-
7070
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
org.make.api.technical.crmapitest
|
DefaultCrmApiComponent.this.unmarshaller[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder)
|
|
204
|
39879
|
7067
-
7067
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.technical.crmapitest
|
util.this.ApplyConverter.hac1[org.make.api.technical.crm.MailJetEvent]
|
|
204
|
43300
|
7061
-
7226
|
Apply
|
scala.Function1.apply
|
org.make.api.technical.crmapitest
|
server.this.Directive.addDirectiveApply[(org.make.api.technical.crm.MailJetEvent,)](DefaultCrmApi.this.entity[org.make.api.technical.crm.MailJetEvent](DefaultCrmApi.this.as[org.make.api.technical.crm.MailJetEvent](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.crm.MailJetEvent](DefaultCrmApiComponent.this.unmarshaller[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.technical.crm.MailJetEvent]).apply(((event: org.make.api.technical.crm.MailJetEvent) => {
DefaultCrmApiComponent.this.eventBusService.publish(event);
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
}))
|
|
204
|
43260
|
7070
-
7070
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
org.make.api.technical.crmapitest
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.crm.MailJetEvent](DefaultCrmApiComponent.this.unmarshaller[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder))
|
|
204
|
33340
|
7070
-
7070
|
Select
|
org.make.api.technical.crm.MailJetEvent.decoder
|
org.make.api.technical.crmapitest
|
crm.this.MailJetEvent.decoder
|
|
204
|
48003
|
7061
-
7085
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.entity[org.make.api.technical.crm.MailJetEvent](DefaultCrmApi.this.as[org.make.api.technical.crm.MailJetEvent](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.crm.MailJetEvent](DefaultCrmApiComponent.this.unmarshaller[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder))))
|
|
204
|
34972
|
7068
-
7084
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.as[org.make.api.technical.crm.MailJetEvent](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.technical.crm.MailJetEvent](DefaultCrmApiComponent.this.unmarshaller[org.make.api.technical.crm.MailJetEvent](crm.this.MailJetEvent.decoder)))
|
|
205
|
31990
|
7131
-
7161
|
Apply
|
org.make.api.technical.EventBusService.publish
|
org.make.api.technical.crmapitest
|
DefaultCrmApiComponent.this.eventBusService.publish(event)
|
|
206
|
46396
|
7182
-
7206
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
|
|
206
|
49789
|
7191
-
7205
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
org.make.api.technical.crmapitest
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
206
|
41504
|
7203
-
7203
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
org.make.api.technical.crmapitest
|
marshalling.this.Marshaller.fromStatusCode
|
|
206
|
34410
|
7191
-
7205
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
org.make.api.technical.crmapitest
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)
|
|
216
|
33377
|
7333
-
8126
|
Apply
|
scala.Function1.apply
|
org.make.api.technical.crmapitest
|
server.this.Directive.addByNameNullaryApply(DefaultCrmApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultCrmApi.this.path[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("technical")./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("crm"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("synchronize"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("CrmSynchro", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.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],)](DefaultCrmApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultCrmApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation(org.make.core.job.Job.JobId.SyncCrmData.value, DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance](DefaultCrmApiComponent.this.crmService.synchronizeContactsWithCrm()).asDirective)(util.this.ApplyConverter.hac1[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance]).apply(((acceptance: org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance) => if (acceptance.isAccepted)
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
else
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId])))))))))))))))
|
|
216
|
33125
|
7333
-
7337
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.post
|
|
217
|
49572
|
7346
-
7387
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.path[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("technical")./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("crm"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("synchronize"))(TupleOps.this.Join.join0P[Unit]))
|
|
217
|
43052
|
7365
-
7370
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this._segmentStringToPathMatcher("crm")
|
|
217
|
35474
|
7363
-
7363
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.technical.crmapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
217
|
41792
|
7346
-
8120
|
Apply
|
scala.Function1.apply
|
org.make.api.technical.crmapitest
|
server.this.Directive.addByNameNullaryApply(DefaultCrmApi.this.path[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("technical")./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("crm"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("synchronize"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("CrmSynchro", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.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],)](DefaultCrmApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultCrmApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation(org.make.core.job.Job.JobId.SyncCrmData.value, DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance](DefaultCrmApiComponent.this.crmService.synchronizeContactsWithCrm()).asDirective)(util.this.ApplyConverter.hac1[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance]).apply(((acceptance: org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance) => if (acceptance.isAccepted)
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
else
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))))))))))))
|
|
217
|
39666
|
7371
-
7371
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.technical.crmapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
217
|
47459
|
7351
-
7362
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"technical"
|
|
217
|
47961
|
7373
-
7386
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this._segmentStringToPathMatcher("synchronize")
|
|
217
|
32834
|
7351
-
7386
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this._segmentStringToPathMatcher("technical")./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("crm"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("synchronize"))(TupleOps.this.Join.join0P[Unit])
|
|
218
|
41464
|
7412
-
7424
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"CrmSynchro"
|
|
218
|
45653
|
7398
-
8112
|
Apply
|
scala.Function1.apply
|
org.make.api.technical.crmapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("CrmSynchro", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.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],)](DefaultCrmApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultCrmApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation(org.make.core.job.Job.JobId.SyncCrmData.value, DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance](DefaultCrmApiComponent.this.crmService.synchronizeContactsWithCrm()).asDirective)(util.this.ApplyConverter.hac1[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance]).apply(((acceptance: org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance) => if (acceptance.isAccepted)
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
else
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId])))))))))))))
|
|
218
|
35224
|
7411
-
7411
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.technical.crmapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
218
|
39375
|
7398
-
7425
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.technical.crmapitest
|
DefaultCrmApiComponent.this.makeOperation("CrmSynchro", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3)
|
|
218
|
33597
|
7398
-
7398
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.technical.crmapitest
|
DefaultCrmApiComponent.this.makeOperation$default$2
|
|
218
|
46941
|
7398
-
7398
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.technical.crmapitest
|
DefaultCrmApiComponent.this.makeOperation$default$3
|
|
219
|
47995
|
7443
-
7453
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
|
DefaultCrmApiComponent.this.makeOAuth2
|
|
219
|
32880
|
7443
-
8102
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultCrmApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultCrmApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation(org.make.core.job.Job.JobId.SyncCrmData.value, DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance](DefaultCrmApiComponent.this.crmService.synchronizeContactsWithCrm()).asDirective)(util.this.ApplyConverter.hac1[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance]).apply(((acceptance: org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance) => if (acceptance.isAccepted)
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
else
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId])))))))))))
|
|
219
|
40403
|
7443
-
7443
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
220
|
32582
|
7515
-
7524
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
220
|
49610
|
7498
-
7525
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultCrmApiComponent.this.requireAdminRole(auth.user)
|
|
220
|
40759
|
7498
-
8090
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultCrmApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation(org.make.core.job.Job.JobId.SyncCrmData.value, DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance](DefaultCrmApiComponent.this.crmService.synchronizeContactsWithCrm()).asDirective)(util.this.ApplyConverter.hac1[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance]).apply(((acceptance: org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance) => if (acceptance.isAccepted)
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
else
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId])))))))))
|
|
221
|
41222
|
7556
-
7573
|
Select
|
org.make.core.job.Job.JobId.value
|
|
org.make.core.job.Job.JobId.SyncCrmData.value
|
|
221
|
34720
|
7555
-
7555
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
221
|
46389
|
7542
-
7542
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
|
DefaultCrmApiComponent.this.makeOperation$default$3
|
|
221
|
48287
|
7542
-
8076
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation(org.make.core.job.Job.JobId.SyncCrmData.value, DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance](DefaultCrmApiComponent.this.crmService.synchronizeContactsWithCrm()).asDirective)(util.this.ApplyConverter.hac1[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance]).apply(((acceptance: org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance) => if (acceptance.isAccepted)
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
else
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))))))
|
|
221
|
33630
|
7542
-
7542
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
|
DefaultCrmApiComponent.this.makeOperation$default$2
|
|
221
|
39135
|
7542
-
7574
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
|
DefaultCrmApiComponent.this.makeOperation(org.make.core.job.Job.JobId.SyncCrmData.value, DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3)
|
|
224
|
31526
|
7729
-
8060
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance](DefaultCrmApiComponent.this.crmService.synchronizeContactsWithCrm()).asDirective)(util.this.ApplyConverter.hac1[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance]).apply(((acceptance: org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance) => if (acceptance.isAccepted)
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
else
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))))
|
|
224
|
47747
|
7729
-
7768
|
Apply
|
org.make.api.technical.crm.CrmService.synchronizeContactsWithCrm
|
|
DefaultCrmApiComponent.this.crmService.synchronizeContactsWithCrm()
|
|
224
|
40150
|
7729
-
7780
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance](DefaultCrmApiComponent.this.crmService.synchronizeContactsWithCrm()).asDirective
|
|
224
|
32020
|
7769
-
7769
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance]
|
|
225
|
45665
|
7819
-
7840
|
Select
|
org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance.isAccepted
|
|
acceptance.isAccepted
|
|
226
|
41291
|
7864
-
7919
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
|
|
226
|
47783
|
7894
-
7894
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]
|
|
226
|
33670
|
7897
-
7918
|
Select
|
org.make.core.job.Job.JobId.SyncCrmData
|
|
org.make.core.job.Job.JobId.SyncCrmData
|
|
226
|
34483
|
7894
-
7894
|
TypeApply
|
org.make.core.CirceFormatters.stringValueEncoder
|
|
DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId]
|
|
226
|
45862
|
7873
-
7918
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId])))
|
|
226
|
33089
|
7894
-
7894
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))
|
|
226
|
39659
|
7894
-
7894
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId])
|
|
226
|
33424
|
7864
-
7919
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
|
|
226
|
41253
|
7873
-
7893
|
Select
|
akka.http.scaladsl.model.StatusCodes.Accepted
|
|
akka.http.scaladsl.model.StatusCodes.Accepted
|
|
226
|
47446
|
7873
-
7918
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData)
|
|
226
|
38564
|
7894
-
7894
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
228
|
39625
|
8000
-
8021
|
Select
|
org.make.core.job.Job.JobId.SyncCrmData
|
|
org.make.core.job.Job.JobId.SyncCrmData
|
|
228
|
47233
|
7967
-
8022
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
|
|
228
|
41751
|
7997
-
7997
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))
|
|
228
|
34233
|
7976
-
8021
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId])))
|
|
228
|
46177
|
7976
-
7996
|
Select
|
akka.http.scaladsl.model.StatusCodes.Conflict
|
|
akka.http.scaladsl.model.StatusCodes.Conflict
|
|
228
|
45615
|
7997
-
7997
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId])
|
|
228
|
40722
|
7997
-
7997
|
TypeApply
|
org.make.core.CirceFormatters.stringValueEncoder
|
|
DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId]
|
|
228
|
39125
|
7967
-
8022
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultCrmApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
|
|
228
|
35216
|
7976
-
8021
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.SyncCrmData)
|
|
228
|
31809
|
7997
-
7997
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]
|
|
228
|
47823
|
7997
-
7997
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
|
|
238
|
47015
|
8169
-
9007
|
Apply
|
scala.Function1.apply
|
org.make.api.technical.crmapitest
|
server.this.Directive.addByNameNullaryApply(DefaultCrmApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultCrmApi.this.path[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("technical")./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("crm"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("anonymize"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("CrmAnonymize", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$6: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultCrmApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultCrmApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("AnonymizeUsers", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$7: org.make.core.RequestContext) => {
val startTime: Long = java.lang.System.currentTimeMillis();
DefaultCrmApiComponent.this.crmService.anonymize().onComplete[Unit](((x0$1: scala.util.Try[Unit]) => x0$1 match {
case (value: Unit): scala.util.Success[Unit](_) => DefaultCrmApiComponent.this.logger.info(("anonymizing contacts succeeded in ".+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String))
case (exception: Throwable): scala.util.Failure[Unit]((e @ _)) => DefaultCrmApiComponent.this.logger.error(("anonymizing contacts failed in ".+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String), e)
}))(scala.concurrent.ExecutionContext.Implicits.global);
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode))
})))))))))
|
|
238
|
47274
|
8169
-
8173
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.post
|
|
239
|
47777
|
8199
-
8199
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
|
TupleOps.this.Join.join0P[Unit]
|
|
239
|
32366
|
8207
-
8207
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
|
TupleOps.this.Join.join0P[Unit]
|
|
239
|
37829
|
8182
-
8221
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
|
DefaultCrmApi.this.path[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("technical")./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("crm"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("anonymize"))(TupleOps.this.Join.join0P[Unit]))
|
|
239
|
45694
|
8187
-
8220
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
|
DefaultCrmApi.this._segmentStringToPathMatcher("technical")./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("crm"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("anonymize"))(TupleOps.this.Join.join0P[Unit])
|
|
239
|
33241
|
8182
-
9001
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultCrmApi.this.path[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("technical")./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("crm"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("anonymize"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("CrmAnonymize", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$6: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultCrmApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultCrmApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("AnonymizeUsers", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$7: org.make.core.RequestContext) => {
val startTime: Long = java.lang.System.currentTimeMillis();
DefaultCrmApiComponent.this.crmService.anonymize().onComplete[Unit](((x0$1: scala.util.Try[Unit]) => x0$1 match {
case (value: Unit): scala.util.Success[Unit](_) => DefaultCrmApiComponent.this.logger.info(("anonymizing contacts succeeded in ".+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String))
case (exception: Throwable): scala.util.Failure[Unit]((e @ _)) => DefaultCrmApiComponent.this.logger.error(("anonymizing contacts failed in ".+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String), e)
}))(scala.concurrent.ExecutionContext.Implicits.global);
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode))
}))))))))
|
|
239
|
39910
|
8209
-
8220
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
|
DefaultCrmApi.this._segmentStringToPathMatcher("anonymize")
|
|
239
|
31279
|
8201
-
8206
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
|
DefaultCrmApi.this._segmentStringToPathMatcher("crm")
|
|
239
|
38881
|
8187
-
8198
|
Literal
|
<nosymbol>
|
|
"technical"
|
|
240
|
46432
|
8232
-
8232
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
|
DefaultCrmApiComponent.this.makeOperation$default$2
|
|
240
|
31317
|
8232
-
8261
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
|
DefaultCrmApiComponent.this.makeOperation("CrmAnonymize", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3)
|
|
240
|
47529
|
8245
-
8245
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
240
|
37820
|
8232
-
8993
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("CrmAnonymize", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$6: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultCrmApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultCrmApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("AnonymizeUsers", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$7: org.make.core.RequestContext) => {
val startTime: Long = java.lang.System.currentTimeMillis();
DefaultCrmApiComponent.this.crmService.anonymize().onComplete[Unit](((x0$1: scala.util.Try[Unit]) => x0$1 match {
case (value: Unit): scala.util.Success[Unit](_) => DefaultCrmApiComponent.this.logger.info(("anonymizing contacts succeeded in ".+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String))
case (exception: Throwable): scala.util.Failure[Unit]((e @ _)) => DefaultCrmApiComponent.this.logger.error(("anonymizing contacts failed in ".+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String), e)
}))(scala.concurrent.ExecutionContext.Implicits.global);
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode))
})))))))
|
|
240
|
38920
|
8232
-
8232
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
|
DefaultCrmApiComponent.this.makeOperation$default$3
|
|
240
|
33417
|
8246
-
8260
|
Literal
|
<nosymbol>
|
|
"CrmAnonymize"
|
|
241
|
31801
|
8279
-
8279
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
241
|
39946
|
8279
-
8289
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
|
DefaultCrmApiComponent.this.makeOAuth2
|
|
241
|
45939
|
8279
-
8983
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultCrmApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultCrmApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("AnonymizeUsers", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$7: org.make.core.RequestContext) => {
val startTime: Long = java.lang.System.currentTimeMillis();
DefaultCrmApiComponent.this.crmService.anonymize().onComplete[Unit](((x0$1: scala.util.Try[Unit]) => x0$1 match {
case (value: Unit): scala.util.Success[Unit](_) => DefaultCrmApiComponent.this.logger.info(("anonymizing contacts succeeded in ".+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String))
case (exception: Throwable): scala.util.Failure[Unit]((e @ _)) => DefaultCrmApiComponent.this.logger.error(("anonymizing contacts failed in ".+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String), e)
}))(scala.concurrent.ExecutionContext.Implicits.global);
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode))
})))))
|
|
242
|
45447
|
8351
-
8360
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
242
|
32906
|
8334
-
8971
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultCrmApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("AnonymizeUsers", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$7: org.make.core.RequestContext) => {
val startTime: Long = java.lang.System.currentTimeMillis();
DefaultCrmApiComponent.this.crmService.anonymize().onComplete[Unit](((x0$1: scala.util.Try[Unit]) => x0$1 match {
case (value: Unit): scala.util.Success[Unit](_) => DefaultCrmApiComponent.this.logger.info(("anonymizing contacts succeeded in ".+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String))
case (exception: Throwable): scala.util.Failure[Unit]((e @ _)) => DefaultCrmApiComponent.this.logger.error(("anonymizing contacts failed in ".+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String), e)
}))(scala.concurrent.ExecutionContext.Implicits.global);
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode))
})))
|
|
242
|
37326
|
8334
-
8361
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultCrmApiComponent.this.requireAdminRole(auth.user)
|
|
243
|
38348
|
8378
-
8378
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
|
DefaultCrmApiComponent.this.makeOperation$default$3
|
|
243
|
31066
|
8378
-
8409
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
|
DefaultCrmApiComponent.this.makeOperation("AnonymizeUsers", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3)
|
|
243
|
47224
|
8378
-
8378
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
|
DefaultCrmApiComponent.this.makeOperation$default$2
|
|
243
|
39741
|
8378
-
8957
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("AnonymizeUsers", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$7: org.make.core.RequestContext) => {
val startTime: Long = java.lang.System.currentTimeMillis();
DefaultCrmApiComponent.this.crmService.anonymize().onComplete[Unit](((x0$1: scala.util.Try[Unit]) => x0$1 match {
case (value: Unit): scala.util.Success[Unit](_) => DefaultCrmApiComponent.this.logger.info(("anonymizing contacts succeeded in ".+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String))
case (exception: Throwable): scala.util.Failure[Unit]((e @ _)) => DefaultCrmApiComponent.this.logger.error(("anonymizing contacts failed in ".+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String), e)
}))(scala.concurrent.ExecutionContext.Implicits.global);
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode))
}))
|
|
243
|
47564
|
8391
-
8391
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
243
|
33161
|
8392
-
8408
|
Literal
|
<nosymbol>
|
|
"AnonymizeUsers"
|
|
244
|
39703
|
8449
-
8475
|
Apply
|
java.lang.System.currentTimeMillis
|
|
java.lang.System.currentTimeMillis()
|
|
245
|
33198
|
8492
-
8894
|
ApplyToImplicitArgs
|
scala.concurrent.Future.onComplete
|
|
DefaultCrmApiComponent.this.crmService.anonymize().onComplete[Unit](((x0$1: scala.util.Try[Unit]) => x0$1 match {
case (value: Unit): scala.util.Success[Unit](_) => DefaultCrmApiComponent.this.logger.info(("anonymizing contacts succeeded in ".+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String))
case (exception: Throwable): scala.util.Failure[Unit]((e @ _)) => DefaultCrmApiComponent.this.logger.error(("anonymizing contacts failed in ".+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String), e)
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
245
|
37087
|
8526
-
8526
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
248
|
32869
|
8585
-
8701
|
Apply
|
grizzled.slf4j.Logger.info
|
|
DefaultCrmApiComponent.this.logger.info(("anonymizing contacts succeeded in ".+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String))
|
|
251
|
44869
|
8759
-
8876
|
Apply
|
grizzled.slf4j.Logger.error
|
|
DefaultCrmApiComponent.this.logger.error(("anonymizing contacts failed in ".+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String), e)
|
|
253
|
39406
|
8932
-
8932
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
253
|
43614
|
8911
-
8941
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode))
|
|
253
|
31269
|
8920
-
8940
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode)
|
|
253
|
47265
|
8920
-
8940
|
Select
|
akka.http.scaladsl.model.StatusCodes.Accepted
|
|
akka.http.scaladsl.model.StatusCodes.Accepted
|
|
261
|
39445
|
9049
-
9053
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.post
|
|
261
|
51241
|
9049
-
10287
|
Apply
|
scala.Function1.apply
|
org.make.api.technical.crmapitest
|
server.this.Directive.addByNameNullaryApply(DefaultCrmApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.api.technical.crm.CrmList,)](DefaultCrmApi.this.path[(org.make.api.technical.crm.CrmList,)](DefaultCrmApi.this._segmentStringToPathMatcher("technical")./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("crm"))(TupleOps.this.Join.join0P[Unit])./[(org.make.api.technical.crm.CrmList,)](DefaultCrmApiComponent.this.stringEnumPathMatcher[org.make.api.technical.crm.CrmList](CrmList))(TupleOps.this.Join.join0P[(org.make.api.technical.crm.CrmList,)])./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("synchronize"))(TupleOps.this.Join.join[(org.make.api.technical.crm.CrmList,), Unit](TupleOps.this.FoldLeft.t0[(org.make.api.technical.crm.CrmList,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.api.technical.crm.CrmList]).apply(((list: org.make.api.technical.crm.CrmList) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("CrmSendList", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$8: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultCrmApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultCrmApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("SynchronizeList", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$9: org.make.core.RequestContext) => {
val startTime: Long = java.lang.System.currentTimeMillis();
DefaultCrmApiComponent.this.crmService.synchronizeList(org.make.core.DateHelper.now().toString(), list, list.targetDirectory(DefaultCrmApiComponent.this.mailJetConfiguration.csvDirectory)).onComplete[Unit](((x0$1: scala.util.Try[akka.Done]) => x0$1 match {
case (value: akka.Done): scala.util.Success[akka.Done](_) => DefaultCrmApiComponent.this.logger.info(("Synchronizing list ".+(list.value).+(" succeeded in ").+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String))
case (exception: Throwable): scala.util.Failure[akka.Done]((e @ _)) => DefaultCrmApiComponent.this.logger.error(("Synchronizing list ".+(list.value).+(" failed in ").+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String), e)
}))(scala.concurrent.ExecutionContext.Implicits.global);
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode))
}))))))))))
|
|
262
|
45436
|
9087
-
9087
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
|
TupleOps.this.Join.join0P[(org.make.api.technical.crm.CrmList,)]
|
|
262
|
47051
|
9097
-
9097
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join
|
|
TupleOps.this.Join.join[(org.make.api.technical.crm.CrmList,), Unit](TupleOps.this.FoldLeft.t0[(org.make.api.technical.crm.CrmList,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
|
|
262
|
31018
|
9067
-
9078
|
Literal
|
<nosymbol>
|
|
"technical"
|
|
262
|
37573
|
9099
-
9112
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
|
DefaultCrmApi.this._segmentStringToPathMatcher("synchronize")
|
|
262
|
44385
|
9066
-
9066
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.technical.crm.CrmList]
|
|
262
|
37605
|
9062
-
10281
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.technical.crm.CrmList,)](DefaultCrmApi.this.path[(org.make.api.technical.crm.CrmList,)](DefaultCrmApi.this._segmentStringToPathMatcher("technical")./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("crm"))(TupleOps.this.Join.join0P[Unit])./[(org.make.api.technical.crm.CrmList,)](DefaultCrmApiComponent.this.stringEnumPathMatcher[org.make.api.technical.crm.CrmList](CrmList))(TupleOps.this.Join.join0P[(org.make.api.technical.crm.CrmList,)])./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("synchronize"))(TupleOps.this.Join.join[(org.make.api.technical.crm.CrmList,), Unit](TupleOps.this.FoldLeft.t0[(org.make.api.technical.crm.CrmList,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.api.technical.crm.CrmList]).apply(((list: org.make.api.technical.crm.CrmList) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("CrmSendList", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$8: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultCrmApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultCrmApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("SynchronizeList", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$9: org.make.core.RequestContext) => {
val startTime: Long = java.lang.System.currentTimeMillis();
DefaultCrmApiComponent.this.crmService.synchronizeList(org.make.core.DateHelper.now().toString(), list, list.targetDirectory(DefaultCrmApiComponent.this.mailJetConfiguration.csvDirectory)).onComplete[Unit](((x0$1: scala.util.Try[akka.Done]) => x0$1 match {
case (value: akka.Done): scala.util.Success[akka.Done](_) => DefaultCrmApiComponent.this.logger.info(("Synchronizing list ".+(list.value).+(" succeeded in ").+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String))
case (exception: Throwable): scala.util.Failure[akka.Done]((e @ _)) => DefaultCrmApiComponent.this.logger.error(("Synchronizing list ".+(list.value).+(" failed in ").+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String), e)
}))(scala.concurrent.ExecutionContext.Implicits.global);
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode))
})))))))))
|
|
262
|
44352
|
9081
-
9086
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
|
DefaultCrmApi.this._segmentStringToPathMatcher("crm")
|
|
262
|
39205
|
9067
-
9112
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
|
DefaultCrmApi.this._segmentStringToPathMatcher("technical")./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("crm"))(TupleOps.this.Join.join0P[Unit])./[(org.make.api.technical.crm.CrmList,)](DefaultCrmApiComponent.this.stringEnumPathMatcher[org.make.api.technical.crm.CrmList](CrmList))(TupleOps.this.Join.join0P[(org.make.api.technical.crm.CrmList,)])./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("synchronize"))(TupleOps.this.Join.join[(org.make.api.technical.crm.CrmList,), Unit](TupleOps.this.FoldLeft.t0[(org.make.api.technical.crm.CrmList,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
|
|
262
|
32652
|
9089
-
9096
|
ApplyImplicitView
|
org.make.api.technical.MakeDirectives.stringEnumPathMatcher
|
|
DefaultCrmApiComponent.this.stringEnumPathMatcher[org.make.api.technical.crm.CrmList](CrmList)
|
|
262
|
31052
|
9062
-
9113
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
|
DefaultCrmApi.this.path[(org.make.api.technical.crm.CrmList,)](DefaultCrmApi.this._segmentStringToPathMatcher("technical")./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("crm"))(TupleOps.this.Join.join0P[Unit])./[(org.make.api.technical.crm.CrmList,)](DefaultCrmApiComponent.this.stringEnumPathMatcher[org.make.api.technical.crm.CrmList](CrmList))(TupleOps.this.Join.join0P[(org.make.api.technical.crm.CrmList,)])./[Unit](DefaultCrmApi.this._segmentStringToPathMatcher("synchronize"))(TupleOps.this.Join.join[(org.make.api.technical.crm.CrmList,), Unit](TupleOps.this.FoldLeft.t0[(org.make.api.technical.crm.CrmList,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
|
|
262
|
40538
|
9079
-
9079
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
|
TupleOps.this.Join.join0P[Unit]
|
|
262
|
33713
|
9097
-
9097
|
TypeApply
|
akka.http.scaladsl.server.util.TupleFoldInstances.t0
|
|
TupleOps.this.FoldLeft.t0[(org.make.api.technical.crm.CrmList,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
|
|
263
|
37615
|
9132
-
9160
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
|
DefaultCrmApiComponent.this.makeOperation("CrmSendList", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3)
|
|
263
|
50385
|
9145
-
9145
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
263
|
32689
|
9132
-
9132
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
|
DefaultCrmApiComponent.this.makeOperation$default$2
|
|
263
|
39693
|
9146
-
9159
|
Literal
|
<nosymbol>
|
|
"CrmSendList"
|
|
263
|
45188
|
9132
-
9132
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
|
DefaultCrmApiComponent.this.makeOperation$default$3
|
|
263
|
45729
|
9132
-
10273
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("CrmSendList", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$8: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultCrmApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultCrmApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("SynchronizeList", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$9: org.make.core.RequestContext) => {
val startTime: Long = java.lang.System.currentTimeMillis();
DefaultCrmApiComponent.this.crmService.synchronizeList(org.make.core.DateHelper.now().toString(), list, list.targetDirectory(DefaultCrmApiComponent.this.mailJetConfiguration.csvDirectory)).onComplete[Unit](((x0$1: scala.util.Try[akka.Done]) => x0$1 match {
case (value: akka.Done): scala.util.Success[akka.Done](_) => DefaultCrmApiComponent.this.logger.info(("Synchronizing list ".+(list.value).+(" succeeded in ").+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String))
case (exception: Throwable): scala.util.Failure[akka.Done]((e @ _)) => DefaultCrmApiComponent.this.logger.error(("Synchronizing list ".+(list.value).+(" failed in ").+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String), e)
}))(scala.concurrent.ExecutionContext.Implicits.global);
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode))
})))))))
|
|
264
|
46215
|
9178
-
9188
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
|
DefaultCrmApiComponent.this.makeOAuth2
|
|
264
|
38702
|
9178
-
9178
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
264
|
32403
|
9178
-
10263
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultCrmApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultCrmApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("SynchronizeList", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$9: org.make.core.RequestContext) => {
val startTime: Long = java.lang.System.currentTimeMillis();
DefaultCrmApiComponent.this.crmService.synchronizeList(org.make.core.DateHelper.now().toString(), list, list.targetDirectory(DefaultCrmApiComponent.this.mailJetConfiguration.csvDirectory)).onComplete[Unit](((x0$1: scala.util.Try[akka.Done]) => x0$1 match {
case (value: akka.Done): scala.util.Success[akka.Done](_) => DefaultCrmApiComponent.this.logger.info(("Synchronizing list ".+(list.value).+(" succeeded in ").+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String))
case (exception: Throwable): scala.util.Failure[akka.Done]((e @ _)) => DefaultCrmApiComponent.this.logger.error(("Synchronizing list ".+(list.value).+(" failed in ").+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String), e)
}))(scala.concurrent.ExecutionContext.Implicits.global);
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode))
})))))
|
|
265
|
30808
|
9250
-
9259
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
265
|
44152
|
9233
-
9260
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultCrmApiComponent.this.requireAdminRole(auth.user)
|
|
265
|
35831
|
9233
-
10251
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultCrmApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("SynchronizeList", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$9: org.make.core.RequestContext) => {
val startTime: Long = java.lang.System.currentTimeMillis();
DefaultCrmApiComponent.this.crmService.synchronizeList(org.make.core.DateHelper.now().toString(), list, list.targetDirectory(DefaultCrmApiComponent.this.mailJetConfiguration.csvDirectory)).onComplete[Unit](((x0$1: scala.util.Try[akka.Done]) => x0$1 match {
case (value: akka.Done): scala.util.Success[akka.Done](_) => DefaultCrmApiComponent.this.logger.info(("Synchronizing list ".+(list.value).+(" succeeded in ").+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String))
case (exception: Throwable): scala.util.Failure[akka.Done]((e @ _)) => DefaultCrmApiComponent.this.logger.error(("Synchronizing list ".+(list.value).+(" failed in ").+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String), e)
}))(scala.concurrent.ExecutionContext.Implicits.global);
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode))
})))
|
|
266
|
37651
|
9277
-
9309
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
|
DefaultCrmApiComponent.this.makeOperation("SynchronizeList", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3)
|
|
266
|
44697
|
9277
-
10237
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultCrmApiComponent.this.makeOperation("SynchronizeList", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$9: org.make.core.RequestContext) => {
val startTime: Long = java.lang.System.currentTimeMillis();
DefaultCrmApiComponent.this.crmService.synchronizeList(org.make.core.DateHelper.now().toString(), list, list.targetDirectory(DefaultCrmApiComponent.this.mailJetConfiguration.csvDirectory)).onComplete[Unit](((x0$1: scala.util.Try[akka.Done]) => x0$1 match {
case (value: akka.Done): scala.util.Success[akka.Done](_) => DefaultCrmApiComponent.this.logger.info(("Synchronizing list ".+(list.value).+(" succeeded in ").+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String))
case (exception: Throwable): scala.util.Failure[akka.Done]((e @ _)) => DefaultCrmApiComponent.this.logger.error(("Synchronizing list ".+(list.value).+(" failed in ").+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String), e)
}))(scala.concurrent.ExecutionContext.Implicits.global);
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode))
}))
|
|
266
|
45220
|
9277
-
9277
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
|
DefaultCrmApiComponent.this.makeOperation$default$3
|
|
266
|
39735
|
9291
-
9308
|
Literal
|
<nosymbol>
|
|
"SynchronizeList"
|
|
266
|
31845
|
9277
-
9277
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
|
DefaultCrmApiComponent.this.makeOperation$default$2
|
|
266
|
50141
|
9290
-
9290
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
267
|
46257
|
9349
-
9375
|
Apply
|
java.lang.System.currentTimeMillis
|
|
java.lang.System.currentTimeMillis()
|
|
270
|
39156
|
9459
-
9484
|
Apply
|
java.time.ZonedDateTime.toString
|
|
org.make.core.DateHelper.now().toString()
|
|
272
|
30844
|
9553
-
9586
|
Select
|
org.make.api.extensions.MailJetConfiguration.csvDirectory
|
|
DefaultCrmApiComponent.this.mailJetConfiguration.csvDirectory
|
|
272
|
43640
|
9532
-
9587
|
Apply
|
org.make.api.technical.crm.CrmList.targetDirectory
|
|
list.targetDirectory(DefaultCrmApiComponent.this.mailJetConfiguration.csvDirectory)
|
|
274
|
45970
|
9638
-
9638
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
274
|
37410
|
9392
-
10174
|
ApplyToImplicitArgs
|
scala.concurrent.Future.onComplete
|
|
DefaultCrmApiComponent.this.crmService.synchronizeList(org.make.core.DateHelper.now().toString(), list, list.targetDirectory(DefaultCrmApiComponent.this.mailJetConfiguration.csvDirectory)).onComplete[Unit](((x0$1: scala.util.Try[akka.Done]) => x0$1 match {
case (value: akka.Done): scala.util.Success[akka.Done](_) => DefaultCrmApiComponent.this.logger.info(("Synchronizing list ".+(list.value).+(" succeeded in ").+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String))
case (exception: Throwable): scala.util.Failure[akka.Done]((e @ _)) => DefaultCrmApiComponent.this.logger.error(("Synchronizing list ".+(list.value).+(" failed in ").+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String), e)
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
277
|
35792
|
9701
-
9883
|
Apply
|
grizzled.slf4j.Logger.info
|
|
DefaultCrmApiComponent.this.logger.info(("Synchronizing list ".+(list.value).+(" succeeded in ").+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String))
|
|
282
|
32644
|
9945
-
10154
|
Apply
|
grizzled.slf4j.Logger.error
|
|
DefaultCrmApiComponent.this.logger.error(("Synchronizing list ".+(list.value).+(" failed in ").+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String), e)
|
|
287
|
39197
|
10200
-
10220
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode)
|
|
287
|
47313
|
10212
-
10212
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
287
|
31603
|
10191
-
10221
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultCrmApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode))
|
|
287
|
50179
|
10200
-
10220
|
Select
|
akka.http.scaladsl.model.StatusCodes.Accepted
|
|
akka.http.scaladsl.model.StatusCodes.Accepted
|