Justin Bertram
88b21f9039
ARTEMIS-3082 fix non-destructive + rollback
2021-01-27 20:41:33 -05:00
Ryan Yeats
86a2cad12a
ARTEMIS-1884 add plugin API for message level authorization policies
2021-01-25 13:44:36 -06:00
Justin Bertram
4fbc8bf67d
ARTEMIS-3008 mngmnt op to reload config file
2021-01-25 13:35:19 -06:00
Justin Bertram
9319f0c8c8
ARTEMIS-3012 incorrect fallback consumer authorization
...
The fallback consumer authorization implemented in ARTEMIS-592 needs to
check for an *exact* security-settings match otherwise in certain
configurations a more general and more permissive setting might
be used instead of the intended more specific and more restrictive
setting.
2021-01-25 13:34:18 -06:00
Domenico Francesco Bruscino
9d070812dd
ARTEMIS-3079 Fix AMQP binary properties serialization to JSON
2021-01-25 13:22:53 -06:00
gtully
ec32b68247
ARTEMIS-2559 - resolve intermittent test failure when last ack is lost
2021-01-20 11:25:10 -05:00
Clebert Suconic
78c0792989
ARTEMIS-3065 AMQP Anonymous producer would eventually block
2021-01-13 15:46:54 -05:00
Justin Bertram
9aa7a10744
ARTEMIS-3058 improper AddressSettings merge
...
The merge method in AddressSettings should *not* use any getters. It
should reference the relevant variables directly. Using any getters will
return default values in the underlying value is null. This can cause
problems for hierarchical settings.
Also fixed a few potential NPEs exposed by the test-case.
2021-01-11 11:38:59 -05:00
Clebert Suconic
b4d66b684a
ARTEMIS-3054 Fix inconsistencies between replica catchup and page cleanup
2021-01-08 13:48:41 -05:00
Clebert Suconic
727baf20b2
NO-JIRA fixing intermittent failure on QueueAutoDeleteTest
2021-01-07 10:42:26 -05:00
gtully
546bbfebfb
ARTEMIS-3033 - implement address tree map for wildcards in place of linked addresses
2021-01-06 20:31:46 +00:00
gtully
4e70fcdb52
ARTEMIS-3043 - remove reference to improperly named field, now corrected, from test
2021-01-06 20:19:49 +00:00
Andy Taylor
ea7f001776
ARTEMIS-3043 - improvements on new console
...
https://issues.apache.org/jira/browse/ARTEMIS-3043
2021-01-06 10:47:57 -05:00
franz1981
2b5d99bbd1
ARTEMIS-3016 Refactored duplicate ids cache
2021-01-06 09:05:01 -05:00
Clebert Suconic
c63aa9f481
NO-JIRA OpenWire test retry
2020-12-23 11:14:29 -05:00
Clebert Suconic
c1de2c8679
NO-JIRA Checkstyle fix
2020-12-21 20:10:31 -05:00
Clebert Suconic
562674aaa9
NO-JIRA Intermittent failure fix
2020-12-21 17:36:42 -05:00
Clebert Suconic
1bb15639d7
NO-JIRA Fix intermittent failure on JMSConsumer2Test
2020-12-21 17:33:35 -05:00
Clebert Suconic
a2bce6e921
NO-JIRA intermittent failures on testsuite
2020-12-21 16:51:25 -05:00
Clebert Suconic
122187ab88
NO-JIRA Disabling storage on openWire TemporaryQueueClusterTest
2020-12-21 16:26:09 -05:00
Clebert Suconic
c3beea3a9e
NO-JIRA Fixing intermittent test failure
...
waiting advisory to update client on openwire client
2020-12-21 16:19:42 -05:00
Clebert Suconic
b07ae7af7c
NO-JIRA fixing intermittent test failures
2020-12-21 14:23:39 -05:00
Clebert Suconic
9f59006226
NO-JIRA Intermittent test failure due to Wait.assertEquals
2020-12-21 09:40:25 -05:00
Clebert Suconic
6b7d963f45
ARTEMIS-3039 Fixing network isolation signal on replication
2020-12-18 16:56:14 -05:00
Clebert Suconic
78715e66e0
NO-JIRA Allow some variance on the fast disk calculation
...
SyncSendTest could intermittnetly fail on fast jenkins instances.
2020-12-17 16:06:44 -05:00
Clebert Suconic
920d97b159
NO-JIRA Fixing intermittent failure
2020-12-17 14:30:20 -05:00
Clebert Suconic
4e2eda82f3
ARTEMIS-3018 Adding ignore on test for further investigation
2020-12-17 13:06:49 -05:00
Clebert Suconic
3d32f5ce98
NO-JIRA Improving test to not fail when CI is slow
2020-12-16 13:17:10 -05:00
Clebert Suconic
3b0fa74970
ARTEMIS-3027 Fixing tests after some large messages changes
2020-12-14 15:19:12 -05:00
Clebert Suconic
63a3bcbe32
ARTEMIS-3027 Fixing Redistribution of Large Messages after expiration fix
...
This is fixing AmqpLargeMessageRedistributionTes and AMQPLargeMessageOverCoreBridgeTest after last commit on this issue.
2020-12-14 11:18:38 -05:00
Clebert Suconic
dfd41d958e
ARTEMIS-3027 Store calculated expiration as part of the journal record on AMQP
2020-12-10 18:33:15 -05:00
Clebert Suconic
94f1857914
ARTEMIS-3026 Allow "re-encode" of amqp large messages
...
notice the quotes on "re-encode", as this is just replacing the set of application properties, properties and headers by a new set
if a flag reEncoded is set to true on AMQPLargeMessage
2020-12-10 00:37:11 -05:00
Clebert Suconic
825341734a
ARTEMIS-3024 Expiry or DLQ Retry not working with AMQP
2020-12-08 14:13:53 -05:00
Clebert Suconic
6a6a3b3863
ARTEMIS-3023 Avoid opening AMQP Large Message for final parsing
2020-12-07 21:24:45 -05:00
Clebert Suconic
e6a6e81b02
ARTEMIS-3019 expiry changes in AMQP Large Message
2020-12-07 10:44:51 -05:00
gtully
0585bf1662
ARTEMIS-179 - fix intermittent failure on BindingsClusterTest
2020-11-25 10:08:24 +00:00
Clebert Suconic
686036b1a4
ARTEMIS-3007 Checking if a message becomes large during copy
...
This is to avoid shutting down the server on a critical failure in case the message is a few bytes shy
from beyond the max buffer size.
This will prevent the issue.
2020-11-22 23:42:25 -05:00
Domenico Francesco Bruscino
27392b1d7e
ARTEMIS-3005 Fix scaling down AMQP messages routing
2020-11-20 14:48:40 -05:00
Clebert Suconic
af4d2cd5fc
ARTEMIS-3006 Upgrading to Qpid ProtonJ 0.33.8
...
I am also bringing a test I used to report https://issues.apache.org/jira/browse/PROTON-2297
Even though the issue here is on proton. There's no such thing as enough tests so I am keeping the test.
2020-11-20 13:31:21 -05:00
Justin Bertram
ec2cb19f2d
ARTEMIS-3003 NPE when reloading persisted security-setting
2020-11-20 10:08:39 -05:00
gtully
ccc74a2313
ARTEMIS-2938 - disable openwire host verification to work with existing certs
2020-11-20 13:28:42 +00:00
Clebert Suconic
83b12ca09f
NO-JIRA Adding MQTT Test
2020-11-19 11:51:35 -05:00
Clebert Suconic
85b9ac3cce
NO-JIRA Improving AmqpLargeMessageTest
...
This includes removing a test that was removed by accident on ddd8ed4402
And improving the test with size parameters.
2020-11-19 09:53:55 -05:00
Luis De Bello
a2d827e23f
ARTEMIS-2991 Removing HttpAcceptorHandler from HttpKeepAliveRunnable when upgrade to websocket connection
2020-11-18 15:04:52 -06:00
gtully
d0d1aef88c
ARTEMIS-2938 - allow array list serialisation for dependent openwire tests AMQ-7399
2020-11-18 12:56:42 +00:00
sebthom
80c51803da
ARTEMIS-3001 Provide address and queue count via ActiveMQServerControl
...
See https://issues.apache.org/jira/browse/ARTEMIS-3001
2020-11-17 15:55:50 -05:00
Justin Bertram
4bb9ed2d4e
ARTEMIS-2986 deleting scheduled messages not permanent
...
When deleting a durable scheduled message via the management API the
message would be removed from memory but it wouldn't be removed from
storage so when the broker restarted the message would reappear.
This commit fixes that by acking the message during the delete
operation.
2020-11-16 23:46:32 -05:00
gtully
683879495c
ARTEMIS-2990 - avoid auto boxing on binding id used as map key
2020-11-13 10:03:28 +00:00
gtully
9675ecae42
ARTEMIS-2985 - don't block netty threads for mqtt protocol actions
2020-11-12 21:01:00 +00:00
Clebert Suconic
80fa86b738
NO-JIRA Fixing Intermittent Failure on TransientQueueTest
2020-11-12 10:26:35 -05:00
Clebert Suconic
ead05b7a89
ARTEMIS-2983 Fixing PrintData with AMQP
2020-11-11 12:47:02 -05:00
Clebert Suconic
62099e86d3
NO-JIRA improving test
2020-11-10 12:00:31 -05:00
Clebert Suconic
c46870a853
ARTEMIS-2974 Proper fix for the CI on MultiThreadAuditLoggingTest
2020-11-09 10:05:48 -05:00
Clebert Suconic
b0e07a6b5f
ARTEMIS-2974 Adding Wait.assert on test
2020-11-07 11:20:06 -05:00
Justin Bertram
ecead9b130
ARTEMIS-2974 audit logger can print wrong user info
...
Using a ThreadLocal for the audit user information works in most cases,
but it can fail when dispatching messages to consumers because threads
are taken out of a pool to do the dispatching and those threads may not
be associated with the proper credentials. This commit fixes that
problem with the following changes:
- Passes the Subject explicitly when logging audit info during dispatch
- Relocates security audit logging from the SecurityManager
implementation(s) to the SecurityStore implementation
- Associates the Subject with the connection properly with the new
security caching
2020-11-05 11:38:08 -05:00
Robbie Gemmell
5ff075b7ff
ARTEMIS-2971: add ANONYMOUS and EXTERNAL SASL mechanism support for outgoing AMQP server connections
2020-11-05 11:32:35 -05:00
Clebert Suconic
030baaa2d3
ARTEMIS-2970 Improving test on Broker Connection
2020-11-04 17:50:41 -05:00
Clebert Suconic
a52ddb60ca
ARTEMIS-2970 Adding test validaing Broker Connection with socket disconencts and TTL
2020-11-04 16:48:17 -05:00
Clebert Suconic
4e7bb97df7
[maven-release-plugin] prepare for next development iteration
2020-11-02 17:45:51 -05:00
Clebert Suconic
9768017530
[maven-release-plugin] prepare release 2.16.0
2020-11-02 17:45:38 -05:00
Clebert Suconic
648340a864
ARTEMIS-2969 / ARTEMIS-2937 Making sure consumers are cleaned after failures and reconnects
2020-11-02 17:24:45 -05:00
Clebert Suconic
16e8db3aeb
Revert "NO-JIRA avoiding having rogue process when running test"
...
This reverts commit a2d6d1d89d
.
2020-11-02 12:42:30 -05:00
Clebert Suconic
a2d6d1d89d
NO-JIRA avoiding having rogue process when running test
2020-11-02 11:23:52 -05:00
Andy Taylor
dafef2b267
ARTEMIS-2973 - JMS AMQP Shared global subscriber queue not deleted on unsubscribe
...
https://issues.apache.org/jira/browse/ARTEMIS-2973
2020-11-02 10:00:13 -05:00
Clebert Suconic
c0b12b14c8
ARTEMIS-2969 / ARTEMIS-2937 Controlling connecting state on AMQP Broker Connection
...
- Fixed an issue where I needed to set connection to null after closing it
- Added more tests on QpidDispatchPeerTest (tests i would have done manually, and reproduced a few issues along the way)
2020-11-02 09:54:21 -05:00
Clebert Suconic
28919b6ad8
[maven-release-plugin] prepare for next development iteration
2020-10-30 10:16:29 -04:00
Clebert Suconic
af5ca9f1e6
[maven-release-plugin] prepare release 2.16.0
2020-10-30 10:16:17 -04:00
Clebert Suconic
dff2ed3638
ARTEMIS-2937 Implementing skip create and skip delete on Mirror Source
2020-10-30 08:44:51 -04:00
Clebert Suconic
480197975b
ARTEMIS-2967 Adding testSimpleConnect back and fixing a possible NPE
2020-10-29 22:01:01 -04:00
Clebert Suconic
9b0f7605cb
ARTEMIS-2969 / ARTEMIS-2937 Dealing with Connection Timeout properly on AMQP Broker Connections
2020-10-29 21:55:10 -04:00
Clebert Suconic
dc7eb5c23d
ARTEMIS-2937 Broker connection improvements
...
- Adding a paragraph about addressing and distinct queue names
- Renaming match on peers, senders and receivers as "address-match"
- Changing qpid dispatch test to use a single listener
- Fixing reconnect attemps message
2020-10-29 15:01:51 -04:00
Clebert Suconic
d51c89471e
ARTEMIS-2966 Anycast queues with distinct names would cause issues on sending messages
2020-10-29 10:09:36 -04:00
Clebert Suconic
753dac47d8
ARTEMIS-2937 Cleanup on tests
2020-10-29 10:09:36 -04:00
gtully
e5566d5211
ARTEMIS-2964 - fire advisory messages via post office, independent of connection state. consume via regular auth
2020-10-29 09:58:52 +00:00
Clebert Suconic
bf52134dc0
ARTEMIS-2937 Fixing Tests and some review
2020-10-28 15:08:48 -04:00
Clebert Suconic
8499eac76c
ARTEMIS-2937 Server Side AMQP Connectivity with options to transfer queues or replicate data
2020-10-28 11:37:25 -04:00
Clebert Suconic
0c5d0303ba
NO-JIRA Fixing QueueControlTest in certains envs
2020-10-26 09:45:40 -04:00
Clebert Suconic
b309bb8f59
NO-JIRA Just adding some info on a test assert
2020-10-23 01:23:30 -04:00
Clebert Suconic
f6ef285859
ARTEMIS-2927 LVQ broken after restart
2020-10-22 13:32:19 -04:00
Domenico Francesco Bruscino
90434a4cf4
ARTEMIS-2935 Fix JMX ObjectNames
...
Fix invalid object names setting a default broker name if it cannot be used.
2020-10-22 15:10:02 +08:00
gtully
69e58322f1
NO JIRA - add some durable sub loadbalancing to the scenario test
2020-10-21 14:57:12 +01:00
Emmanuel Hugonnet
fdfc58171b
[ARTEMIS-2939]: Artemis should not delete corrupt log files.
...
* Moving corrupted journal files to the attic folder.
Jira: https://issues.apache.org/jira/browse/ARTEMIS-2939
2020-10-20 18:39:06 -04:00
franz1981
4545749969
ARTEMIS-2941 Improve JDBC HA connection resiliency
2020-10-20 17:23:48 -04:00
Justin Bertram
75e12b5e1d
ARTEMIS-2947 Implement SecurityManager that supports replication
2020-10-19 10:07:57 -04:00
gtully
583bd3602a
ARTEMIS-2888 ARTEMIS-2859 ARTEMIS-2768 - revert new page-store-name addressSetting, when the page store respects the target address and the size is tallied on the target address store, it is no longer neecessary
2020-10-19 14:04:35 +01:00
gtully
4e8ce9ed10
ARTEMIS-2859 - track owning page store as in a message reference to ensure correct usage tracking, only track size on the owning store, reference everywhere else via refUp
2020-10-15 00:06:43 -04:00
Andy Taylor
0ce173dcb5
ARTEMIS-2838 - migrate to HawtIO 2
...
https://issues.apache.org/jira/browse/ARTEMIS-2838
2020-10-09 09:20:29 +01:00
franz1981
b4532d944d
ARTEMIS-2823 Use datasource with JDBC store db connections fixes
...
It add additional required fixes:
- Fixed uncommitted deleted tx records
- Fixed JDBC authorization on test
- Using property-based version for commons-dbcp2
- stopping thread pool after activation to allow JDBC lease locks to release the lock
- centralize JDBC network timeout configuration and save repeating it
- adding dbcp2 as the default pooled DataSource to be used
2020-10-06 10:19:06 +02:00
Mikko Uoti
2faafec737
ARTEMIS-2823 Use datasource with JDBC store db connections
...
Replaces direct jdbc connections with dbcp2 datasource. Adds
configuration options to use alternative datasources and to alter the
parameters. While adding slight overhead, this vastly improves the
management and pooling capabilities with db connections.
2020-10-06 08:32:58 +03:00
gtully
7a472d2782
ARTEMIS-2768 - fix up conditional to include null pageStoreName option, it was a little over eager
2020-09-28 15:53:06 +01:00
Clebert Suconic
1d9964c2b0
NO-JIRA Fixing test intermittent failure with a Wait call
2020-09-27 00:26:15 -04:00
Clebert Suconic
702f3c453b
ARTEMIS-2906 Fixing test on lastAckTimestamp
2020-09-25 15:26:14 -04:00
Clebert Suconic
98b94b5846
NO-JIRA Adding a test where I am sending an AMQP large message and sending it over a core bridge to another node
...
There are no semantic changes here. I wanted to check something and committed a good test.
2020-09-25 15:19:19 -04:00
Andy Taylor
c77bf50db4
ARTEMIS-2908 - Persist Divert Configuration in Bindings journal
...
https://issues.apache.org/jira/browse/ARTEMIS-2908
2020-09-25 10:03:40 -04:00
gtully
77d1c8cd7f
ARTEMIS-2768 - add warning if wildcard subscription does not have a matching page-store-name address setting
2020-09-24 13:52:57 -04:00
Justin Bertram
0f60b5a8e4
ARTEMIS-2906 add lastAckTimestamp to message counter
2020-09-24 12:51:00 -04:00
Justin Bertram
cdc283fba5
ARTEMIS-2915 duplicate temp queues using OpenWire
2020-09-24 12:48:36 -04:00
franz1981
207c2265bf
ARTEMIS-2912 Server start exception before activation can cause a zombie broker
2020-09-24 10:26:50 -04:00
gtully
fa04881c6f
ARTEMIS-2888 ARTEMIS-2859 ARTEMIS-2768 - new page-store-name addressSetting to allow wildcard subscriptions share a single page store
2020-09-24 09:39:31 +01:00
Robbie Gemmell
acdd8b4dce
NO-JIRA: tweaks to address some sporadic test failures
2020-09-23 17:22:48 +01:00