Skip to content
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.

Add new SystemCommands EnablePublishingCommand and DisablePublishingC… #788

Merged
merged 1 commit into from
Oct 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ on [Keep a CHANGELOG](http://keepachangelog.com/). This project adheres to

## [Unreleased]

## [6.2.2] - 2019-10-23
### Added
- New SystemCommands EnablePublishingCommand and DisablePublishingCommand for enabling/disabling the publishing beans
### Changed
- Updated utilities.version to 1.20.3
- Updated json schema catalog to 1.7.5

## [6.2.1] - 2019-10-17
### Changed
- Renamed SystemCommandFailedException to SystemCommandInvocationFailedException
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package uk.gov.justice.services.jmx.api.command;

public class DisablePublishingCommand extends BaseSystemCommand implements PublishingCommand {

public static final String DISABLE_PUBLISHING = "DISABLE_PUBLISHING";
public static final String DESCRIPTION = "Disables the publishing of any newly received events";

public DisablePublishingCommand() {
super(DISABLE_PUBLISHING, DESCRIPTION);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package uk.gov.justice.services.jmx.api.command;

public class EnablePublishingCommand extends BaseSystemCommand implements PublishingCommand {

public static final String ENABLE_PUBLISHING = "ENABLE_PUBLISHING";
public static final String DESCRIPTION = "Enables the publishing of any newly received events";

public EnablePublishingCommand() {
super(ENABLE_PUBLISHING, DESCRIPTION);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package uk.gov.justice.services.jmx.api.command;

public interface PublishingCommand extends SystemCommand {
}
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
<common-bom.version>2.4.0</common-bom.version>
<test-utils.version>1.24.3</test-utils.version>
<framework-api.version>4.1.0</framework-api.version>
<utilities.version>1.20.2</utilities.version>
<json-schema-catalog.version>1.7.4</json-schema-catalog.version>
<utilities.version>1.20.3</utilities.version>
<json-schema-catalog.version>1.7.5</json-schema-catalog.version>
<embedded-artemis.version>1.2.0</embedded-artemis.version>
<jboss-ejb3-ext-api.version>2.2.0.Final</jboss-ejb3-ext-api.version>
</properties>
Expand Down