| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
excluded due to QPID-2031. An update to the LogMessages.vm templates and ApplicationRegistry was requried. This is because BrokerMessages is loaded before the ApplicationRegistry is initialised. As a result the NullApplicationRegistry is created which should not be used. The AR is loaded to discover the current Locale. There were a couple of options here. Either always use the Default Locale and have the AR loading set that or add the ability to check if the AR has been configured. I chose the latter as knowing if an AR exists may be useful for our testing framework.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801575 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
close. Update to CFAR to ensure that an Actor is set during shutdown. Update to TestLogActor's log Name and corrected CurrentActorTest's testname.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801573 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
logging just yet as its approach to recovery does not provide the requried details.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801572 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801571 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
NullApplicationRegistry
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801568 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
SystemOutMessageLogger until we have loaded the main configuration and then re-initialise with that configuration
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801567 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801564 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
removing the ApplicationRegistry they create.
The biggest offenders are the broker tests which are not pure unit tests.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801561 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801557 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
| |
MaxChannelsTest/AMQProtoSessionMBean - Ensured CurrentActor is correctly set and removed.
Log4jMessageLogger - Correctly Set log level to ensure messages are logged.
AbstractActor - Null validation of RootLogger
Log4jMessasgeLoggerTest - Updated and removed erroneous tests that were based on inherited log levels.
AbstractTestLogSubject - Updated to correctly parse IP given by the use of InternalTestProtocolSession
TestApplicationRegistry - Created RootMessageLogger
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800374 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
InternalTestProtocolSession
IPTS was also updated to take a VirtualHost parameter that is then used to configured the AMQProtocolSession
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800372 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800371 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800368 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
the ability to retrieve the RootMessageLogger
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800366 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
there is no impact as the tests were passing in null for the removed parameter
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800365 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
stages of Open can be correctly logged.
Client ID is not initially provided so we would be unable to log the protocol negotiation without removing this
Modified ProtocolVersion Template to include a toString value to make it easier to log.
There are two templates to update one in gentools/templ.java and one in common/templates
Exposed verification methods to allow systests to reuse the code
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800363 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
as startup would necesitate this, or when a new connection is being created. The addition of a ConnetionSubject would be unnecessary.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800362 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
to retrieve the right value during startup. So better to explicitly specify the vhost and message store.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800360 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
of message creation.
Messages that do not need a message formatter now nolonger use the message formater.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800358 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800357 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
corrected failures in test.
Failures corrected by:
- Ensuring message count is as expected after first publication
- Validating that the max count alert level is correctly changed (when InVM)
- Validate that the log file does not contain alerts after restart
- Validate that alerting occurs after extra messages have been published
- Modified QPID_WORK (using QTC.setSystemProperty so it is only set for that test run) to ensure each test has a clean store.
Additions to QpidTestCase:
- Ability to enable persistence on a given virtualhost. Currently it tries to set the JBoss BerkelyDB store failing back to Qpid's DerbyDB store.
- Ability to set properties in the configuration file, this involves re-writting the config files so that both inVM and external java brokers will correctly function with the desired configuration.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800356 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
keyed by Queue names in the vhost, with values indicating their respective depths in bytes
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@797473 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
Update to improve formatting of generated code
Inclusion of more documentation
Defaulted generation to use US locale
Removed duplicate messages in MST that were added to while the option solution was being discussed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@797421 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
entry with all queues listed.
Modify the management console to auto-select the wildcard binding when the exchange is viewed. Also, suppress the warning on entering no binding key when creating a fanout exchange binding, but auto-fill the field with the wildcard for clarity.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@797387 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
Added TestBlankSubject to be able to easily identify log message
Updatd LogMessasges based on issues found.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@797050 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@797049 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
QPID-2001 : Added documentation and replaced Integer with Number.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@797048 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Template to generate static <Type>Messages classes that can be used for compile time vaildation of logging.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@796800 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
of logging as part of providing fixed log messages
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@796799 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
and so renamed method getStatusUpdatesEnabled
Ensured tested in ServerConfiguration[File]Test and removed standalone test that replicated functionality.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@796798 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
ServerconfigurationTest
Added ServerConfigurationFileTest that verifies the string value is loadable from the systest config file.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@796796 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@796795 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
relying on default set within the management console
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@796693 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Provided static CurrentActor for accessing ThreadLocal.
Included Test to validate setting of ThreadLocals.
Added Test for AMQPActor
Added getRootMessageLogger() to IApplicationRegistry
Adjusted *ProtocolSessions to start counting at 0.
Allowed Setting of Vhost on the MockProtocolSession
Created a fixed Principle in MockProtocolSession
Changes to MockProtocolSession, prevent NPEs when the AMQPActor creates its log string.
Converted CurrentActor to use a Stack allowing a variety of actors to take their turn on a thread.
Improved package structure
Added testing for Actors
Moved FileMonitorTools functionality to FileUtils and provided a Test
Converted Log4jMessageLoggerTest to a proper UnitTest
Moved Test cases to test package
Updated other broker tests to set the authenticated user before setting the virtualhost,
Whilst the logging could output null as the username it would be better if the tests correctly set the authorizedID.
Update to include tests for disabled logging
Fully tested LogSubjects
Updated MockAMQQueue to be able to take a Virtualhost as per a normal Queue.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@796650 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@796204 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
interface, add test for deleteMessages()
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@796203 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
deprecate previous int version.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@796196 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
results, update management console QueueOperations tab accordingly
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@795089 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
broker and its JMX management API
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@794660 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
not later gathered by the viewMessages() method which checks for non-deletion
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793535 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
management interface
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793533 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
management interface
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793531 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793506 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
interface
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793504 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
management interface for reference, and add warning about future alterations to ensure compatibility
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793499 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
depend on management-common, modify build system to copy management-common.jar when required (eg for binary releases).
QPID-1928: remove unused AMQException throws clause and import from ManagedQueue,UserManagement.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793206 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@792649 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
127.0.0.1
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@789356 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
java-derby and config-systests-derby.xml for testing purpouses. Allow the config file to be specified in the test profile, default to config-systests.xml.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@788680 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
DerbyMessageStore: pick up QPID_WORK
FailoverBaseCase: set QPID_WORK for the second broker
QpidTestCase: pass on QPID_WORK
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787254 13f79535-47bb-0310-9956-ffa450edef68
|