Skip to content

Commit

Permalink
Release 1.235.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dgafka authored and github-actions[bot] committed Oct 26, 2024
1 parent aedb1e0 commit 0ad5db1
Show file tree
Hide file tree
Showing 23 changed files with 66 additions and 85 deletions.
6 changes: 3 additions & 3 deletions packages/Amqp/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},
"require": {
"ext-amqp": "*",
"ecotone/enqueue": "~1.234.0",
"ecotone/enqueue": "~1.235.0",
"enqueue/amqp-ext": "^0.10.18",
"enqueue/dsn": "^0.10.4",
"enqueue/enqueue": "^0.10.0"
Expand All @@ -65,7 +65,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "1.234.0-dev"
"dev-main": "1.235.0-dev"
},
"ecotone": {
"repository": "amqp"
Expand All @@ -86,7 +86,7 @@
"description": "Allows to use Enterprise features of Ecotone. For more information please write to support@simplycodedsoftware.com"
}
},
"release-time": "2024-10-23 06:26:35"
"release-time": "2024-10-26 13:09:58"
},
"config": {
"allow-plugins": {
Expand Down
8 changes: 4 additions & 4 deletions packages/Dbal/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}
},
"require": {
"ecotone/enqueue": "~1.234.0",
"ecotone/enqueue": "~1.235.0",
"enqueue/dbal": "^0.10.17",
"doctrine/dbal": "^2.12.0|^3.0"
},
Expand All @@ -45,7 +45,7 @@
"doctrine/cache": "^1.0.0",
"doctrine/annotations": "^1.13",
"wikimedia/composer-merge-plugin": "^2.1",
"ecotone/jms-converter": "~1.234.0",
"ecotone/jms-converter": "~1.235.0",
"symfony/expression-language": "^6.0|^7.0"
},
"scripts": {
Expand All @@ -58,7 +58,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "1.234.0-dev"
"dev-main": "1.235.0-dev"
},
"ecotone": {
"repository": "dbal"
Expand All @@ -79,7 +79,7 @@
"description": "Allows to use Enterprise features of Ecotone. For more information please write to support@simplycodedsoftware.com"
}
},
"release-time": "2024-10-23 06:26:35"
"release-time": "2024-10-26 13:09:58"
},
"config": {
"allow-plugins": {
Expand Down
4 changes: 2 additions & 2 deletions packages/Ecotone/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "1.234.0-dev"
"dev-main": "1.235.0-dev"
},
"ecotone": {
"repository": "ecotone"
Expand All @@ -87,7 +87,7 @@
"description": "Allows to use Enterprise features of Ecotone. For more information please write to support@simplycodedsoftware.com"
}
},
"release-time": "2024-10-23 06:26:35"
"release-time": "2024-10-26 13:09:58"
},
"config": {
"sort-packages": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function prepare(Configuration $messagingConfiguration, array $extensionO
foreach ($this->gatewayBuilders as $gatewayBuilder) {
/** @var Asynchronous[] $asynchronous */
$asynchronous = $interfaceToCallRegistry->getFor($gatewayBuilder->getInterfaceName(), $gatewayBuilder->getRelatedMethodName())->getAnnotationsByImportanceOrder(TypeDescriptor::create(Asynchronous::class));
if ($asynchronous && !$messagingConfiguration->isRunningForEnterpriseLicence()) {
if ($asynchronous && ! $messagingConfiguration->isRunningForEnterpriseLicence()) {
throw LicensingException::create("Gateway {$gatewayBuilder->getInterfaceName()}::{$gatewayBuilder->getRelatedMethodName()} is marked as asynchronous. This functionality is available as part of Ecotone Enterprise.");
}

Expand Down
1 change: 0 additions & 1 deletion packages/Ecotone/src/Messaging/Config/ModuleClassList.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
use Ecotone\Messaging\Handler\Logger\Config\LoggingModule;
use Ecotone\Messaging\Handler\Logger\Config\MessageHandlerLogger;
use Ecotone\Modelling\CommandBus;
use Ecotone\Modelling\Config\MessageBusChannel;
use Ecotone\Modelling\Config\BusRoutingModule;
use Ecotone\Modelling\Config\DistributedGatewayModule;
use Ecotone\Modelling\Config\InstantRetry\InstantRetryModule;
Expand Down
2 changes: 1 addition & 1 deletion packages/Ecotone/src/Messaging/Support/MessageBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function setHeader(string $headerName, $headerValue): self

public function setRoutingSlip(array $routingSlip): self
{
if (!$routingSlip) {
if (! $routingSlip) {
return $this;
}

Expand Down
17 changes: 0 additions & 17 deletions packages/Ecotone/src/Modelling/Config/MessageBusChannel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,6 @@

namespace Ecotone\Modelling\Config;

use Ecotone\AnnotationFinder\AnnotationFinder;
use Ecotone\Messaging\Attribute\ModuleAnnotation;
use Ecotone\Messaging\Config\Annotation\AnnotationModule;
use Ecotone\Messaging\Config\Annotation\ModuleConfiguration\NoExternalConfigurationModule;
use Ecotone\Messaging\Config\Configuration;
use Ecotone\Messaging\Config\ModulePackageList;
use Ecotone\Messaging\Config\ModuleReferenceSearchService;
use Ecotone\Messaging\Handler\Gateway\GatewayProxyBuilder;
use Ecotone\Messaging\Handler\Gateway\ParameterToMessageConverter\GatewayHeaderBuilder;
use Ecotone\Messaging\Handler\Gateway\ParameterToMessageConverter\GatewayHeadersBuilder;
use Ecotone\Messaging\Handler\Gateway\ParameterToMessageConverter\GatewayPayloadBuilder;
use Ecotone\Messaging\Handler\InterfaceToCallRegistry;
use Ecotone\Messaging\MessageHeaders;
use Ecotone\Modelling\CommandBus;
use Ecotone\Modelling\EventBus;
use Ecotone\Modelling\QueryBus;

/**
* licence Apache-2.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
use Ecotone\Messaging\Attribute\Asynchronous;
use Ecotone\Modelling\CommandBus;

#[Asynchronous("async")]
#[Asynchronous('async')]
interface AsyncCommandBus extends CommandBus
{

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
*/
interface AsyncTicketCreator
{
#[Asynchronous("async")]
#[MessageGateway("create")]
#[Asynchronous('async')]
#[MessageGateway('create')]
public function create($data);

#[Asynchronous("async")]
#[MessageGateway("proxy")]
#[Asynchronous('async')]
#[MessageGateway('proxy')]
public function proxy($data);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
*/
interface TicketCreator
{
#[MessageGateway("create")]
#[MessageGateway('create')]
public function create($data);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@ final class TicketService
{
private array $tickets = [];

#[InternalHandler("create")]
#[InternalHandler('create')]
public function createTicket(mixed $data): void
{
$this->tickets[] = $data;
}

#[CommandHandler("createViaCommand")]
#[CommandHandler('createViaCommand')]
public function createTicketViaCommand(mixed $data): void
{
$this->tickets[] = $data;
}

#[InternalHandler("proxy")]
#[InternalHandler('proxy')]
public function proxy(mixed $data, AsyncTicketCreator $asyncTicketCreator): void
{
$asyncTicketCreator->create($data);
}

#[QueryHandler("getTickets")]
#[QueryHandler('getTickets')]
public function getTickets(): array
{
return $this->tickets;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
use PHPUnit\Framework\TestCase;
use Test\Ecotone\Messaging\Fixture\Service\Gateway\AsyncCommandBus;
use Test\Ecotone\Messaging\Fixture\Service\Gateway\AsyncTicketCreator;
use Test\Ecotone\Messaging\Fixture\Service\Gateway\TicketCreator;
use Test\Ecotone\Messaging\Fixture\Service\Gateway\TicketService;

/**
* licence Enterprise
* @internal
*/
final class AsynchronousGatewayTest extends TestCase
{
Expand All @@ -26,7 +26,7 @@ public function test_running_async_gateway(): void
[AsyncTicketCreator::class, TicketService::class],
[new TicketService()],
enableAsynchronousProcessing: [
SimpleMessageChannelBuilder::createQueueChannel("async")
SimpleMessageChannelBuilder::createQueueChannel('async'),
],
licenceKey: LicenceTesting::VALID_LICENCE,
);
Expand Down Expand Up @@ -55,7 +55,7 @@ public function test_running_async_gateway_inside_async_gateway(): void
[AsyncTicketCreator::class, TicketService::class],
[new TicketService()],
enableAsynchronousProcessing: [
SimpleMessageChannelBuilder::createQueueChannel("async")
SimpleMessageChannelBuilder::createQueueChannel('async'),
],
licenceKey: LicenceTesting::VALID_LICENCE,
);
Expand All @@ -82,7 +82,7 @@ public function test_extending_command_bus_with_async_functionality(): void
[AsyncCommandBus::class, TicketService::class],
[new TicketService()],
enableAsynchronousProcessing: [
SimpleMessageChannelBuilder::createQueueChannel("async")
SimpleMessageChannelBuilder::createQueueChannel('async'),
],
licenceKey: LicenceTesting::VALID_LICENCE,
);
Expand All @@ -108,8 +108,8 @@ public function test_throwing_exception_when_using_async_gateway_in_non_enterpri
[AsyncTicketCreator::class, TicketService::class],
[new TicketService()],
enableAsynchronousProcessing: [
SimpleMessageChannelBuilder::createQueueChannel("async")
SimpleMessageChannelBuilder::createQueueChannel('async'),
],
);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ public function test_running_gateway(): void
/** @var TicketCreator $ticketCreator */
$ticketCreator = $ecotoneLite->getGateway(TicketCreator::class);

$ticketCreator->create("some");
$ticketCreator->create('some');

$this->assertEquals(
["some"],
$ecotoneLite->sendQueryWithRouting("getTickets")
['some'],
$ecotoneLite->sendQueryWithRouting('getTickets')
);
}

Expand Down
6 changes: 3 additions & 3 deletions packages/Enqueue/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}
},
"require": {
"ecotone/ecotone": "~1.234.0",
"ecotone/ecotone": "~1.235.0",
"queue-interop/queue-interop": "^0.8",
"enqueue/dsn": "^0.10.4"
},
Expand All @@ -56,7 +56,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "1.234.0-dev"
"dev-main": "1.235.0-dev"
},
"ecotone": {
"repository": "enqueue"
Expand All @@ -77,7 +77,7 @@
"description": "Allows to use Enterprise features of Ecotone. For more information please write to support@simplycodedsoftware.com"
}
},
"release-time": "2024-10-23 06:26:35"
"release-time": "2024-10-26 13:09:58"
},
"config": {
"allow-plugins": {
Expand Down
6 changes: 3 additions & 3 deletions packages/JmsConverter/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
}
},
"require": {
"ecotone/ecotone": "~1.234.0",
"ecotone/ecotone": "~1.235.0",
"jms/serializer": "^3.17",
"symfony/cache": "^5.4|^6.1|^7.0"
},
Expand All @@ -60,7 +60,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "1.234.0-dev"
"dev-main": "1.235.0-dev"
},
"ecotone": {
"repository": "jms-converter"
Expand All @@ -81,7 +81,7 @@
"description": "Allows to use Enterprise features of Ecotone. For more information please write to support@simplycodedsoftware.com"
}
},
"release-time": "2024-10-23 06:26:35"
"release-time": "2024-10-26 13:09:58"
},
"config": {
"sort-packages": true,
Expand Down
8 changes: 4 additions & 4 deletions packages/Laravel/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
}
},
"require": {
"ecotone/ecotone": "~1.234.0",
"ecotone/ecotone": "~1.235.0",
"laravel/framework": "^9.5.2|^10.0|^11.0"
},
"require-dev": {
Expand All @@ -51,7 +51,7 @@
"symfony/expression-language": "^6.0|^7.0",
"nesbot/carbon": "^2.71",
"moneyphp/money": "^4.1.0",
"ecotone/dbal": "~1.234.0",
"ecotone/dbal": "~1.235.0",
"timacdonald/log-fake": "^2.0"
},
"extra": {
Expand All @@ -61,7 +61,7 @@
]
},
"branch-alias": {
"dev-main": "1.234.0-dev"
"dev-main": "1.235.0-dev"
},
"ecotone": {
"repository": "laravel"
Expand All @@ -82,7 +82,7 @@
"description": "Allows to use Enterprise features of Ecotone. For more information please write to support@simplycodedsoftware.com"
}
},
"release-time": "2024-10-23 06:26:35"
"release-time": "2024-10-26 13:09:58"
},
"scripts": {
"tests:phpstan": "vendor/bin/phpstan",
Expand Down
8 changes: 4 additions & 4 deletions packages/LiteApplication/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
}
},
"require": {
"ecotone/ecotone": "~1.234.0",
"ecotone/jms-converter": "~1.234.0",
"ecotone/ecotone": "~1.235.0",
"ecotone/jms-converter": "~1.235.0",
"php-di/php-di": "^7.0.1"
},
"require-dev": {
Expand All @@ -50,7 +50,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "1.234.0-dev"
"dev-main": "1.235.0-dev"
},
"ecotone": {
"repository": "lite-application"
Expand All @@ -71,7 +71,7 @@
"description": "Allows to use Enterprise features of Ecotone. For more information please write to support@simplycodedsoftware.com"
}
},
"release-time": "2024-10-23 06:26:35"
"release-time": "2024-10-26 13:09:58"
},
"scripts": {
"tests:phpstan": "vendor/bin/phpstan",
Expand Down
Loading

0 comments on commit 0ad5db1

Please sign in to comment.