Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove jmsEndpointConfig information from communication settings endpoint #354

Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Removed JmsEndpointConfig class
Removed JmsConnection.getEndpointConfig() method
Udpated Changelog
  • Loading branch information
Krzysztof Wegierski committed Sep 13, 2018
commit 6a3a00b04bf00c5e8d0d9cb131145a50edada2a5
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ All notable changes to AET will be documented in this file.
- [PR-338](https://github.com/Cognifide/aet/pull/338) Enable creating new dbs by default
- [PR-345](https://github.com/Cognifide/aet/pull/345) Deprecate AET maven plugin
- [PR-301](https://github.com/Cognifide/aet/pull/301) New versions of virtualization tools used with new AET cookbook
- [PR-354](https://github.com/Cognifide/aet/pull/354) Remove jmsEndpointConfig information from communication settings endpoint ([#352](https://github.com/Cognifide/aet/issues/352))

## Version 2.1.6

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,4 @@ public interface JmsConnection {
*/
Connection getJmsConnection();

/**
* @return broker connection configuration.
*/
JmsEndpointConfig getEndpointConfig();

}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
package com.cognifide.aet.queues;

import com.cognifide.aet.communication.api.queues.JmsConnection;
import com.cognifide.aet.communication.api.queues.JmsEndpointConfig;
import com.cognifide.aet.queues.configuration.DefaultJmsConnectionConf;
import javax.jms.Connection;
import javax.jms.JMSException;
Expand Down Expand Up @@ -56,11 +55,6 @@ public Connection getJmsConnection() {
return connection;
}

@Override
public JmsEndpointConfig getEndpointConfig() {
return new JmsEndpointConfig(config.url(), config.username(), config.password());
}

@Activate
public void activate(DefaultJmsConnectionConf config) throws JMSException {
this.config = config;
Expand Down