Skip to content

Commit 411efe6

Browse files
dgafkagithub-actions[bot]
authored andcommitted
Release 1.241.0
1 parent d211546 commit 411efe6

File tree

51 files changed

+103
-194
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+103
-194
lines changed

packages/Amqp/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
},
4343
"require": {
4444
"ext-amqp": "*",
45-
"ecotone/enqueue": "~1.240.1",
45+
"ecotone/enqueue": "~1.241.0",
4646
"enqueue/amqp-ext": "^0.10.18",
4747
"enqueue/dsn": "^0.10.4",
4848
"enqueue/enqueue": "^0.10.0"
@@ -65,7 +65,7 @@
6565
},
6666
"extra": {
6767
"branch-alias": {
68-
"dev-main": "1.240.1-dev"
68+
"dev-main": "1.241.0-dev"
6969
},
7070
"ecotone": {
7171
"repository": "amqp"
@@ -86,7 +86,7 @@
8686
"description": "Allows to use Enterprise features of Ecotone. For more information please write to [email protected]"
8787
}
8888
},
89-
"release-time": "2024-12-07 13:28:31"
89+
"release-time": "2024-12-28 19:05:37"
9090
},
9191
"config": {
9292
"allow-plugins": {

packages/Dbal/composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434
},
3535
"require": {
36-
"ecotone/enqueue": "~1.240.1",
36+
"ecotone/enqueue": "~1.241.0",
3737
"enqueue/dbal": "^0.10.17",
3838
"doctrine/dbal": "^2.12.0|^3.0"
3939
},
@@ -45,7 +45,7 @@
4545
"doctrine/cache": "^1.0.0|^2.0",
4646
"doctrine/annotations": "^1.13|^2.0",
4747
"wikimedia/composer-merge-plugin": "^2.1",
48-
"ecotone/jms-converter": "~1.240.1",
48+
"ecotone/jms-converter": "~1.241.0",
4949
"symfony/expression-language": "^6.0|^7.0"
5050
},
5151
"scripts": {
@@ -58,7 +58,7 @@
5858
},
5959
"extra": {
6060
"branch-alias": {
61-
"dev-main": "1.240.1-dev"
61+
"dev-main": "1.241.0-dev"
6262
},
6363
"ecotone": {
6464
"repository": "dbal"
@@ -79,7 +79,7 @@
7979
"description": "Allows to use Enterprise features of Ecotone. For more information please write to [email protected]"
8080
}
8181
},
82-
"release-time": "2024-12-07 13:28:31"
82+
"release-time": "2024-12-28 19:05:37"
8383
},
8484
"config": {
8585
"allow-plugins": {

packages/Ecotone/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
},
6767
"extra": {
6868
"branch-alias": {
69-
"dev-main": "1.240.1-dev"
69+
"dev-main": "1.241.0-dev"
7070
},
7171
"ecotone": {
7272
"repository": "ecotone"
@@ -87,7 +87,7 @@
8787
"description": "Allows to use Enterprise features of Ecotone. For more information please write to [email protected]"
8888
}
8989
},
90-
"release-time": "2024-12-07 13:28:31"
90+
"release-time": "2024-12-28 19:05:37"
9191
},
9292
"config": {
9393
"sort-packages": true,

packages/Ecotone/src/Lite/EcotoneLite.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,9 @@
2121
use Ecotone\Messaging\Config\ServiceCacheConfiguration;
2222
use Ecotone\Messaging\Config\ServiceConfiguration;
2323
use Ecotone\Messaging\ConfigurationVariableService;
24-
use Ecotone\Messaging\Handler\ClassDefinition;
25-
use Ecotone\Messaging\Handler\TypeDescriptor;
2624
use Ecotone\Messaging\InMemoryConfigurationVariableService;
2725
use Ecotone\Messaging\Support\Assert;
28-
use Ecotone\Modelling\Attribute\Aggregate;
29-
use Ecotone\Modelling\Attribute\EventSourcingAggregate;
3026
use Ecotone\Modelling\BaseEventSourcingConfiguration;
31-
use Ecotone\Modelling\Config\RegisterAggregateRepositoryChannels;
3227

3328
use function json_decode;
3429

packages/Ecotone/src/Lite/Test/ConfiguredMessagingSystemWithTestSupport.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Ecotone\Modelling\CommandBus;
1616
use Ecotone\Modelling\DistributedBus;
1717
use Ecotone\Modelling\EventBus;
18-
use Ecotone\Modelling\EventSourcingExecutor\GroupedEventSourcingExecutor;
1918
use Ecotone\Modelling\QueryBus;
2019

2120
/**

packages/Ecotone/src/Lite/Test/FlowTestSupport.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,11 @@
2323
use Ecotone\Modelling\AggregateFlow\SaveAggregate\AggregateResolver\AggregateDefinitionRegistry;
2424
use Ecotone\Modelling\AggregateMessage;
2525
use Ecotone\Modelling\CommandBus;
26-
use Ecotone\Modelling\Config\MessageBusChannel;
2726
use Ecotone\Modelling\Config\AggregrateHandlerModule;
27+
use Ecotone\Modelling\Config\MessageBusChannel;
2828
use Ecotone\Modelling\Event;
2929
use Ecotone\Modelling\EventBus;
30-
use Ecotone\Modelling\EventSourcingExecutor\GroupedEventSourcingExecutor;
3130
use Ecotone\Modelling\QueryBus;
32-
use Ecotone\Test\StubEventSourcedAggregate;
3331

3432
/**
3533
* @template T

packages/Ecotone/src/Messaging/Config/ModuleClassList.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@
4646
use Ecotone\Messaging\Handler\Logger\Config\LoggingModule;
4747
use Ecotone\Messaging\Handler\Logger\Config\MessageHandlerLogger;
4848
use Ecotone\Modelling\CommandBus;
49-
use Ecotone\Modelling\Config\MessageHandlerRoutingModule;
49+
use Ecotone\Modelling\Config\AggregrateHandlerModule;
5050
use Ecotone\Modelling\Config\DistributedGatewayModule;
5151
use Ecotone\Modelling\Config\InstantRetry\InstantRetryModule;
52-
use Ecotone\Modelling\Config\AggregrateHandlerModule;
52+
use Ecotone\Modelling\Config\MessageHandlerRoutingModule;
5353
use Ecotone\Modelling\Config\ServiceHandlerModule;
5454
use Ecotone\Modelling\EventBus;
5555
use Ecotone\Modelling\MessageHandling\MetadataPropagator\MessageHeadersPropagatorInterceptor;

packages/Ecotone/src/Messaging/Handler/Enricher/PropertyEditorAccessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static function getDefinition(): Definition
4242
return new Definition(
4343
self::class,
4444
[
45-
Reference::to(ExpressionEvaluationService::REFERENCE)
45+
Reference::to(ExpressionEvaluationService::REFERENCE),
4646
],
4747
[self::class, 'create']
4848
);

packages/Ecotone/src/Messaging/Handler/Router/HeaderExistsRouter.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
*/
1818
final class HeaderExistsRouter implements RouteSelector, DefinedObject
1919
{
20-
2120
private function __construct(private string $headerName, private string $routeToChannel, private string $fallbackRoute)
2221
{
2322
}
@@ -43,7 +42,7 @@ public function getDefinition(): Definition
4342
return new Definition(self::class, [
4443
$this->headerName,
4544
$this->routeToChannel,
46-
$this->fallbackRoute
45+
$this->fallbackRoute,
4746
], 'create');
4847
}
4948
}

packages/Ecotone/src/Messaging/Handler/Transformer/TransformerBuilder.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function getParameterConverters(): array
133133

134134
public function compile(MessagingContainerBuilder $builder): Definition
135135
{
136-
list($objectToInvokeOn, $interfaceToCallReference, $interfaceToCall) = $this->prepare($builder);
136+
[$objectToInvokeOn, $interfaceToCallReference, $interfaceToCall] = $this->prepare($builder);
137137

138138
$newImplementation = MessageProcessorActivatorBuilder::create()
139139
->withEndpointId($this->getEndpointId())
@@ -157,7 +157,7 @@ public function compile(MessagingContainerBuilder $builder): Definition
157157

158158
public function compileProcessor(MessagingContainerBuilder $builder): Definition
159159
{
160-
list($objectToInvokeOn, $interfaceToCallReference, $interfaceToCall) = $this->prepare($builder);
160+
[$objectToInvokeOn, $interfaceToCallReference, $interfaceToCall] = $this->prepare($builder);
161161

162162
return MethodInvokerBuilder::create(
163163
$objectToInvokeOn,
@@ -214,10 +214,10 @@ public function prepare(MessagingContainerBuilder $builder): array
214214

215215
$interfaceToCall = $builder->getInterfaceToCall($interfaceToCallReference);
216216

217-
if (!$interfaceToCall->canReturnValue()) {
217+
if (! $interfaceToCall->canReturnValue()) {
218218
throw InvalidArgumentException::create("Can't create transformer for {$interfaceToCall}, because method has no return value");
219219
}
220220

221-
return array($objectToInvokeOn, $interfaceToCallReference, $interfaceToCall);
221+
return [$objectToInvokeOn, $interfaceToCallReference, $interfaceToCall];
222222
}
223223
}

0 commit comments

Comments
 (0)