Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

IssueWsModule.java 3.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /*
  2. * SonarQube
  3. * Copyright (C) 2009-2023 SonarSource SA
  4. * mailto:info AT sonarsource DOT com
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public
  8. * License as published by the Free Software Foundation; either
  9. * version 3 of the License, or (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public License
  17. * along with this program; if not, write to the Free Software Foundation,
  18. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  19. */
  20. package org.sonar.server.issue.ws;
  21. import org.sonar.core.platform.Module;
  22. import org.sonar.server.issue.AvatarResolverImpl;
  23. import org.sonar.server.issue.IssueChangeWSSupport;
  24. import org.sonar.server.issue.IssueFieldsSetter;
  25. import org.sonar.server.issue.IssueFinder;
  26. import org.sonar.server.issue.TaintChecker;
  27. import org.sonar.server.issue.TextRangeResponseFormatter;
  28. import org.sonar.server.issue.TransitionService;
  29. import org.sonar.server.issue.WebIssueStorage;
  30. import org.sonar.server.issue.index.IssueQueryFactory;
  31. import org.sonar.server.issue.workflow.FunctionExecutor;
  32. import org.sonar.server.issue.workflow.IssueWorkflow;
  33. import org.sonar.server.issue.ws.pull.PullActionProtobufObjectGenerator;
  34. import org.sonar.server.issue.ws.pull.PullActionResponseWriter;
  35. import org.sonar.server.issue.ws.pull.PullTaintActionProtobufObjectGenerator;
  36. import org.sonar.server.qualitygate.changeevent.QGChangeEventListenersImpl;
  37. public class IssueWsModule extends Module {
  38. @Override
  39. protected void configureModule() {
  40. add(
  41. IssueUpdater.class,
  42. IssueFinder.class,
  43. TransitionService.class,
  44. WebIssueStorage.class,
  45. IssueFieldsSetter.class,
  46. FunctionExecutor.class,
  47. IssueWorkflow.class,
  48. IssueQueryFactory.class,
  49. IssuesWs.class,
  50. AvatarResolverImpl.class,
  51. IssueChangeWSSupport.class,
  52. SearchResponseLoader.class,
  53. TextRangeResponseFormatter.class,
  54. UserResponseFormatter.class,
  55. SearchResponseFormat.class,
  56. OperationResponseWriter.class,
  57. AddCommentAction.class,
  58. EditCommentAction.class,
  59. DeleteCommentAction.class,
  60. AssignAction.class,
  61. DoTransitionAction.class,
  62. SearchAction.class,
  63. ListAction.class,
  64. SetSeverityAction.class,
  65. TagsAction.class,
  66. SetTagsAction.class,
  67. SetTypeAction.class,
  68. ComponentTagsAction.class,
  69. ReindexAction.class,
  70. AuthorsAction.class,
  71. ChangelogAction.class,
  72. BulkChangeAction.class,
  73. QGChangeEventListenersImpl.class,
  74. TaintChecker.class,
  75. PullAction.class,
  76. PullTaintAction.class,
  77. PullActionResponseWriter.class,
  78. PullActionProtobufObjectGenerator.class,
  79. PullTaintActionProtobufObjectGenerator.class);
  80. }
  81. }