| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
129
|
38088
|
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
|
49790
|
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
|
37005
|
4171
-
4185
|
Select
|
org.make.api.technical.crm.CrmApi.anonymizeUsers
|
org.make.api.technical.crmapitest
|
CrmApi.this.anonymizeUsers
|
|
129
|
41914
|
4188
-
4201
|
Select
|
org.make.api.technical.crm.CrmApi.sendListToCrm
|
org.make.api.technical.crmapitest
|
CrmApi.this.sendListToCrm
|
|
129
|
35367
|
4147
-
4154
|
Select
|
org.make.api.technical.crm.CrmApi.webHook
|
org.make.api.technical.crmapitest
|
CrmApi.this.webHook
|
|
129
|
44596
|
4147
-
4168
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.technical.crmapitest
|
CrmApi.this._enhanceRouteWithConcatenation(CrmApi.this.webHook).~(CrmApi.this.syncCrmData)
|
|
129
|
48008
|
4157
-
4168
|
Select
|
org.make.api.technical.crm.CrmApi.syncCrmData
|
org.make.api.technical.crmapitest
|
CrmApi.this.syncCrmData
|
|
149
|
51148
|
4754
-
4789
|
Select
|
org.make.api.extensions.MailJetConfiguration.basicAuthLogin
|
org.make.api.technical.crmapitest
|
DefaultCrmApiComponent.this.mailJetConfiguration.basicAuthLogin
|
|
150
|
43006
|
4811
-
4849
|
Select
|
org.make.api.extensions.MailJetConfiguration.basicAuthPassword
|
org.make.api.technical.crmapitest
|
DefaultCrmApiComponent.this.mailJetConfiguration.basicAuthPassword
|
|
152
|
35405
|
4933
-
4939
|
Apply
|
java.lang.String.trim
|
org.make.api.technical.crmapitest
|
x$1.trim()
|
|
152
|
48461
|
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()))
|
|
152
|
44626
|
4944
-
4954
|
Apply
|
scala.Some.apply
|
org.make.api.technical.crmapitest
|
scala.Some.apply[String]("OK")
|
|
153
|
37041
|
5023
-
5027
|
Select
|
scala.None
|
org.make.api.technical.crmapitest
|
scala.None
|
|
158
|
49535
|
5085
-
5089
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.post
|
|
158
|
41988
|
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))
}))))))))))
|
|
159
|
51180
|
5117
-
5117
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.technical.crmapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
159
|
41951
|
5105
-
5116
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"technical"
|
|
159
|
43042
|
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
|
33525
|
5119
-
5128
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this._segmentStringToPathMatcher("mailjet")
|
|
159
|
35152
|
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
|
49866
|
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))
})))))))))
|
|
160
|
41709
|
5155
-
5155
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.technical.crmapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
160
|
49574
|
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
|
36271
|
5142
-
5142
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.technical.crmapitest
|
DefaultCrmApiComponent.this.makeOperation$default$3
|
|
160
|
32799
|
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
|
43782
|
5142
-
5142
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.technical.crmapitest
|
DefaultCrmApiComponent.this.makeOperation$default$2
|
|
160
|
47963
|
5156
-
5173
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"mailjet-webhook"
|
|
161
|
40959
|
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
|
33563
|
5220
-
5234
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"make-mailjet"
|
|
161
|
35191
|
5219
-
5219
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.technical.crmapitest
|
util.this.ApplyConverter.hac1[String]
|
|
161
|
42790
|
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
|
50631
|
5236
-
5248
|
Apply
|
org.make.api.technical.crm.DefaultCrmApiComponent.DefaultCrmApi.authenticate
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.authenticate(credentials)
|
|
162
|
47707
|
5277
-
5290
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.decodeRequest
|
|
162
|
47530
|
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
|
43824
|
5319
-
5319
|
Select
|
org.make.api.technical.crm.MailJetEvent.decoder
|
org.make.api.technical.crmapitest
|
crm.this.MailJetEvent.decoder
|
|
164
|
51135
|
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
|
41209
|
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
|
36998
|
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
|
49328
|
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))
|
|
164
|
41492
|
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
|
43537
|
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
|
33599
|
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))))
|
|
166
|
34935
|
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
|
46632
|
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
|
33353
|
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
|
42268
|
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
|
50086
|
5641
-
5641
|
Apply
|
scala.Function0.apply
|
org.make.api.technical.crmapitest
|
x$1.apply()
|
|
170
|
34950
|
5635
-
5646
|
Select
|
org.make.api.technical.crm.MailJetEvent.email
|
org.make.api.technical.crmapitest
|
event.email
|
|
171
|
36758
|
5686
-
5686
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"email"
|
|
171
|
47745
|
5686
-
5693
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"email"
|
|
172
|
40138
|
5731
-
5752
|
Apply
|
scala.Some.apply
|
org.make.api.technical.crmapitest
|
scala.Some.apply[String]("Invalid email")
|
|
175
|
36792
|
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
|
40668
|
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
|
47784
|
5991
-
5991
|
Apply
|
scala.Function0.apply
|
org.make.api.technical.crmapitest
|
x$4.apply()
|
|
179
|
35142
|
6047
-
6047
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"customCampaign"
|
|
179
|
51172
|
6047
-
6063
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"customCampaign"
|
|
180
|
43293
|
6103
-
6133
|
Apply
|
scala.Some.apply
|
org.make.api.technical.crmapitest
|
scala.Some.apply[String]("Invalid customCampaign")
|
|
183
|
34904
|
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
|
43332
|
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
|
47200
|
6362
-
6362
|
Apply
|
scala.Function0.apply
|
org.make.api.technical.crmapitest
|
x$7.apply()
|
|
187
|
34106
|
6412
-
6412
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"customId"
|
|
187
|
49838
|
6412
-
6422
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"customId"
|
|
188
|
41697
|
6462
-
6486
|
Apply
|
scala.Some.apply
|
org.make.api.technical.crmapitest
|
scala.Some.apply[String]("Invalid customId")
|
|
191
|
33857
|
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
|
41735
|
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
|
49316
|
6713
-
6713
|
Apply
|
scala.Function0.apply
|
org.make.api.technical.crmapitest
|
x$10.apply()
|
|
195
|
48244
|
6762
-
6771
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"payload"
|
|
195
|
36560
|
6762
-
6762
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"payload"
|
|
196
|
40095
|
6811
-
6834
|
Apply
|
scala.Some.apply
|
org.make.api.technical.crmapitest
|
scala.Some.apply[String]("Invalid payload")
|
|
200
|
43088
|
6929
-
6959
|
Apply
|
org.make.api.technical.EventBusService.publish
|
org.make.api.technical.crmapitest
|
DefaultCrmApiComponent.this.eventBusService.publish(event)
|
|
202
|
48280
|
7007
-
7021
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
org.make.api.technical.crmapitest
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
202
|
39858
|
7019
-
7019
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
org.make.api.technical.crmapitest
|
marshalling.this.Marshaller.fromStatusCode
|
|
202
|
35994
|
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
|
49354
|
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))
|
|
203
|
35444
|
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
|
39899
|
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
|
43284
|
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
|
48039
|
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
|
43325
|
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
|
34978
|
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)))
|
|
204
|
33345
|
7070
-
7070
|
Select
|
org.make.api.technical.crm.MailJetEvent.decoder
|
org.make.api.technical.crmapitest
|
crm.this.MailJetEvent.decoder
|
|
204
|
46399
|
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)
|
|
205
|
31995
|
7131
-
7161
|
Apply
|
org.make.api.technical.EventBusService.publish
|
org.make.api.technical.crmapitest
|
DefaultCrmApiComponent.this.eventBusService.publish(event)
|
|
206
|
46432
|
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
|
49829
|
7191
-
7205
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
org.make.api.technical.crmapitest
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
206
|
34415
|
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)
|
|
206
|
41525
|
7203
-
7203
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
org.make.api.technical.crmapitest
|
marshalling.this.Marshaller.fromStatusCode
|
|
216
|
33382
|
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
|
33130
|
7333
-
7337
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.post
|
|
217
|
41814
|
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
|
32839
|
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])
|
|
217
|
35482
|
7363
-
7363
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.technical.crmapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
217
|
43075
|
7365
-
7370
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this._segmentStringToPathMatcher("crm")
|
|
217
|
47495
|
7351
-
7362
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"technical"
|
|
217
|
39686
|
7371
-
7371
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.technical.crmapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
217
|
47997
|
7373
-
7386
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this._segmentStringToPathMatcher("synchronize")
|
|
217
|
49611
|
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]))
|
|
218
|
33602
|
7398
-
7398
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.technical.crmapitest
|
DefaultCrmApiComponent.this.makeOperation$default$2
|
|
218
|
41485
|
7412
-
7424
|
Literal
|
<nosymbol>
|
org.make.api.technical.crmapitest
|
"CrmSynchro"
|
|
218
|
35231
|
7411
-
7411
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.technical.crmapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
218
|
45689
|
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
|
46977
|
7398
-
7398
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.technical.crmapitest
|
DefaultCrmApiComponent.this.makeOperation$default$3
|
|
218
|
39395
|
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)
|
|
219
|
48031
|
7443
-
7453
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
|
DefaultCrmApiComponent.this.makeOAuth2
|
|
219
|
40423
|
7443
-
7443
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
219
|
32885
|
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])))))))))))
|
|
220
|
40779
|
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])))))))))
|
|
220
|
49649
|
7498
-
7525
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultCrmApiComponent.this.requireAdminRole(auth.user)
|
|
220
|
32587
|
7515
-
7524
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
221
|
39155
|
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)
|
|
221
|
46425
|
7542
-
7542
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
|
DefaultCrmApiComponent.this.makeOperation$default$3
|
|
221
|
41242
|
7556
-
7573
|
Select
|
org.make.core.job.Job.JobId.value
|
|
org.make.core.job.Job.JobId.SyncCrmData.value
|
|
221
|
34725
|
7555
-
7555
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
221
|
48323
|
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
|
33635
|
7542
-
7542
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
|
DefaultCrmApiComponent.this.makeOperation$default$2
|
|
224
|
47783
|
7729
-
7768
|
Apply
|
org.make.api.technical.crm.CrmService.synchronizeContactsWithCrm
|
|
DefaultCrmApiComponent.this.crmService.synchronizeContactsWithCrm()
|
|
224
|
32025
|
7769
-
7769
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance]
|
|
224
|
40170
|
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
|
31530
|
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]))))))
|
|
225
|
45701
|
7819
-
7840
|
Select
|
org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance.isAccepted
|
|
acceptance.isAccepted
|
|
226
|
41273
|
7873
-
7893
|
Select
|
akka.http.scaladsl.model.StatusCodes.Accepted
|
|
akka.http.scaladsl.model.StatusCodes.Accepted
|
|
226
|
39679
|
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
|
47819
|
7894
-
7894
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]
|
|
226
|
41311
|
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
|
38583
|
7894
-
7894
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
226
|
45898
|
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
|
33675
|
7897
-
7918
|
Select
|
org.make.core.job.Job.JobId.SyncCrmData
|
|
org.make.core.job.Job.JobId.SyncCrmData
|
|
226
|
34488
|
7894
-
7894
|
TypeApply
|
org.make.core.CirceFormatters.stringValueEncoder
|
|
DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId]
|
|
226
|
47482
|
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
|
33094
|
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
|
33429
|
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]))))
|
|
228
|
45651
|
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
|
47269
|
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
|
46213
|
7976
-
7996
|
Select
|
akka.http.scaladsl.model.StatusCodes.Conflict
|
|
akka.http.scaladsl.model.StatusCodes.Conflict
|
|
228
|
39645
|
8000
-
8021
|
Select
|
org.make.core.job.Job.JobId.SyncCrmData
|
|
org.make.core.job.Job.JobId.SyncCrmData
|
|
228
|
34238
|
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
|
39145
|
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
|
40742
|
7997
-
7997
|
TypeApply
|
org.make.core.CirceFormatters.stringValueEncoder
|
|
DefaultCrmApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId]
|
|
228
|
41773
|
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
|
47859
|
7997
-
7997
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
|
|
228
|
31814
|
7997
-
7997
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultCrmApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]
|
|
228
|
35223
|
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)
|
|
238
|
47051
|
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
|
47310
|
8169
-
8173
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.post
|
|
239
|
33246
|
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
|
39930
|
8209
-
8220
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
|
DefaultCrmApi.this._segmentStringToPathMatcher("anonymize")
|
|
239
|
38901
|
8187
-
8198
|
Literal
|
<nosymbol>
|
|
"technical"
|
|
239
|
47813
|
8199
-
8199
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
|
TupleOps.this.Join.join0P[Unit]
|
|
239
|
31283
|
8201
-
8206
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
|
DefaultCrmApi.this._segmentStringToPathMatcher("crm")
|
|
239
|
32371
|
8207
-
8207
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
|
TupleOps.this.Join.join0P[Unit]
|
|
239
|
37847
|
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
|
45730
|
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])
|
|
240
|
47565
|
8245
-
8245
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
240
|
33422
|
8246
-
8260
|
Literal
|
<nosymbol>
|
|
"CrmAnonymize"
|
|
240
|
38940
|
8232
-
8232
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
|
DefaultCrmApiComponent.this.makeOperation$default$3
|
|
240
|
37838
|
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
|
31321
|
8232
-
8261
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
|
DefaultCrmApiComponent.this.makeOperation("CrmAnonymize", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3)
|
|
240
|
46468
|
8232
-
8232
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
|
DefaultCrmApiComponent.this.makeOperation$default$2
|
|
241
|
39966
|
8279
-
8289
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
|
DefaultCrmApiComponent.this.makeOAuth2
|
|
241
|
31806
|
8279
-
8279
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
241
|
45975
|
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
|
32911
|
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
|
37343
|
8334
-
8361
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultCrmApiComponent.this.requireAdminRole(auth.user)
|
|
242
|
45482
|
8351
-
8360
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
243
|
47260
|
8378
-
8378
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
|
DefaultCrmApiComponent.this.makeOperation$default$2
|
|
243
|
47600
|
8391
-
8391
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
243
|
39761
|
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
|
38367
|
8378
-
8378
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
|
DefaultCrmApiComponent.this.makeOperation$default$3
|
|
243
|
33166
|
8392
-
8408
|
Literal
|
<nosymbol>
|
|
"AnonymizeUsers"
|
|
243
|
31069
|
8378
-
8409
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
|
DefaultCrmApiComponent.this.makeOperation("AnonymizeUsers", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3)
|
|
244
|
39723
|
8449
-
8475
|
Apply
|
java.lang.System.currentTimeMillis
|
|
java.lang.System.currentTimeMillis()
|
|
245
|
33203
|
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
|
37102
|
8526
-
8526
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
248
|
32874
|
8585
-
8701
|
Apply
|
grizzled.slf4j.Logger.info
|
|
DefaultCrmApiComponent.this.logger.info(("anonymizing contacts succeeded in ".+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String))
|
|
251
|
44902
|
8759
-
8876
|
Apply
|
grizzled.slf4j.Logger.error
|
|
DefaultCrmApiComponent.this.logger.error(("anonymizing contacts failed in ".+(java.lang.System.currentTimeMillis().-(startTime)).+("ms"): String), e)
|
|
253
|
47301
|
8920
-
8940
|
Select
|
akka.http.scaladsl.model.StatusCodes.Accepted
|
|
akka.http.scaladsl.model.StatusCodes.Accepted
|
|
253
|
39426
|
8932
-
8932
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
253
|
43642
|
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
|
31273
|
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)
|
|
261
|
51287
|
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))
}))))))))))
|
|
261
|
39465
|
9049
-
9053
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.technical.crmapitest
|
DefaultCrmApi.this.post
|
|
262
|
44416
|
9066
-
9066
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.technical.crm.CrmList]
|
|
262
|
31021
|
9067
-
9078
|
Literal
|
<nosymbol>
|
|
"technical"
|
|
262
|
40558
|
9079
-
9079
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
|
TupleOps.this.Join.join0P[Unit]
|
|
262
|
44383
|
9081
-
9086
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
|
DefaultCrmApi.this._segmentStringToPathMatcher("crm")
|
|
262
|
33718
|
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]
|
|
262
|
45471
|
9087
-
9087
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
|
TupleOps.this.Join.join0P[(org.make.api.technical.crm.CrmList,)]
|
|
262
|
37590
|
9099
-
9112
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
|
DefaultCrmApi.this._segmentStringToPathMatcher("synchronize")
|
|
262
|
31055
|
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
|
39225
|
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
|
37622
|
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
|
47087
|
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
|
32657
|
9089
-
9096
|
ApplyImplicitView
|
org.make.api.technical.MakeDirectives.stringEnumPathMatcher
|
|
DefaultCrmApiComponent.this.stringEnumPathMatcher[org.make.api.technical.crm.CrmList](CrmList)
|
|
263
|
37632
|
9132
-
9160
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
|
DefaultCrmApiComponent.this.makeOperation("CrmSendList", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3)
|
|
263
|
32694
|
9132
-
9132
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
|
DefaultCrmApiComponent.this.makeOperation$default$2
|
|
263
|
39713
|
9146
-
9159
|
Literal
|
<nosymbol>
|
|
"CrmSendList"
|
|
263
|
50428
|
9145
-
9145
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
263
|
45221
|
9132
-
9132
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
|
DefaultCrmApiComponent.this.makeOperation$default$3
|
|
263
|
45765
|
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
|
32408
|
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))
})))))
|
|
264
|
38721
|
9178
-
9178
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
264
|
46251
|
9178
-
9188
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
|
DefaultCrmApiComponent.this.makeOAuth2
|
|
265
|
35840
|
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))
})))
|
|
265
|
44183
|
9233
-
9260
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultCrmApiComponent.this.requireAdminRole(auth.user)
|
|
265
|
30809
|
9250
-
9259
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
266
|
50182
|
9290
-
9290
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
266
|
45253
|
9277
-
9277
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
|
DefaultCrmApiComponent.this.makeOperation$default$3
|
|
266
|
37668
|
9277
-
9309
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
|
DefaultCrmApiComponent.this.makeOperation("SynchronizeList", DefaultCrmApiComponent.this.makeOperation$default$2, DefaultCrmApiComponent.this.makeOperation$default$3)
|
|
266
|
44729
|
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
|
39755
|
9291
-
9308
|
Literal
|
<nosymbol>
|
|
"SynchronizeList"
|
|
266
|
31850
|
9277
-
9277
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
|
DefaultCrmApiComponent.this.makeOperation$default$2
|
|
267
|
46293
|
9349
-
9375
|
Apply
|
java.lang.System.currentTimeMillis
|
|
java.lang.System.currentTimeMillis()
|
|
270
|
39176
|
9459
-
9484
|
Apply
|
java.time.ZonedDateTime.toString
|
|
org.make.core.DateHelper.now().toString()
|
|
272
|
43668
|
9532
-
9587
|
Apply
|
org.make.api.technical.crm.CrmList.targetDirectory
|
|
list.targetDirectory(DefaultCrmApiComponent.this.mailJetConfiguration.csvDirectory)
|
|
272
|
30845
|
9553
-
9586
|
Select
|
org.make.api.extensions.MailJetConfiguration.csvDirectory
|
|
DefaultCrmApiComponent.this.mailJetConfiguration.csvDirectory
|
|
274
|
37427
|
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)
|
|
274
|
46006
|
9638
-
9638
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
277
|
35801
|
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
|
32649
|
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
|
31607
|
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
|
50220
|
10200
-
10220
|
Select
|
akka.http.scaladsl.model.StatusCodes.Accepted
|
|
akka.http.scaladsl.model.StatusCodes.Accepted
|
|
287
|
47349
|
10212
-
10212
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
287
|
39217
|
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)
|