-
Notifications
You must be signed in to change notification settings - Fork 49
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
tkaik
merged 5 commits into
wttech:master
from
sp2mbn:bugfix/remove-jmsEndpointConfig-from-communication-settings
Nov 16, 2018
Merged
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
30f1267
Removed jmsEndpointConfig information from communication settings end…
6a3a00b
Removed JmsEndpointConfig class
8467f22
Merge branch 'master' into bugfix/remove-jmsEndpointConfig-from-commu…
Skejven 76b92f0
Update CHANGELOG.md
Skejven 951840d
Merge branch 'master' into bugfix/remove-jmsEndpointConfig-from-commu…
tkaik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
Removed jmsEndpointConfig information from communication settings end…
…point Fixed #352
- Loading branch information
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,8 +17,6 @@ | |
|
||
|
||
import com.cognifide.aet.communication.api.CommunicationSettings; | ||
import com.cognifide.aet.communication.api.queues.JmsConnection; | ||
import com.cognifide.aet.communication.api.queues.JmsEndpointConfig; | ||
import com.cognifide.aet.rest.helpers.ReportConfigurationManager; | ||
import com.cognifide.aet.rest.helpers.SuitesListProvider; | ||
import com.cognifide.aet.vs.MetadataDAO; | ||
|
@@ -56,9 +54,6 @@ public class ConfigsServlet extends HttpServlet { | |
@Reference | ||
private transient HttpService httpService; | ||
|
||
@Reference | ||
private transient JmsConnection jmsConnection; | ||
|
||
@Reference | ||
private transient MetadataDAO metadataDAO; | ||
|
||
|
@@ -86,9 +81,7 @@ protected void doGet(HttpServletRequest req, HttpServletResponse resp) { | |
String reportDomain = reportConfigurationManager.getReportDomain(); | ||
|
||
if (COMMUNICATION_SETTINGS_PARAM.equals(configType)) { | ||
JmsEndpointConfig jmsEndpointConfig = jmsConnection.getEndpointConfig(); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, method |
||
CommunicationSettings communicationSettings = new CommunicationSettings(jmsEndpointConfig, | ||
reportDomain); | ||
CommunicationSettings communicationSettings = new CommunicationSettings(reportDomain); | ||
responseWriter.write(new Gson().toJson(communicationSettings)); | ||
} else if (LIST_PARAM.equals(configType)) { | ||
resp.setContentType("text/html; charset=utf-8"); | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks that
JmsEndpointConfig
is no longer used anywhere. It should be removed.