IGNITE-16498 Add ability to add handlers to RestModule from other Ignite modules...
authorRoman Puchkovskiy <roman.puchkovskiy@gmail.com>
Fri, 4 Mar 2022 06:41:15 +0000 (10:41 +0400)
committerGitHub <noreply@github.com>
Fri, 4 Mar 2022 06:41:15 +0000 (09:41 +0300)
commited519fb2fa2a89e11a8ab7fad3069f7e1f7d74b3
tree6e1d96ebb588902c57105beb78d9603a84709ae4
parent4ce4ef3b5d7f2ea02135bc49f53879dc79ca77f0
IGNITE-16498 Add ability to add handlers to RestModule from other Ignite modules (#690)
32 files changed:
modules/api/pom.xml
modules/configuration/pom.xml
modules/configuration/src/main/java/org/apache/ignite/internal/configuration/rest/ConfigurationHttpHandlers.java [moved from modules/rest/src/main/java/org/apache/ignite/internal/rest/RestModule.java with 51% similarity]
modules/configuration/src/main/java/org/apache/ignite/internal/configuration/rest/presentation/ConfigurationPresentation.java [moved from modules/rest/src/main/java/org/apache/ignite/internal/rest/presentation/ConfigurationPresentation.java with 97% similarity]
modules/configuration/src/main/java/org/apache/ignite/internal/configuration/rest/presentation/hocon/HoconPresentation.java [moved from modules/rest/src/main/java/org/apache/ignite/internal/rest/presentation/hocon/HoconPresentation.java with 95% similarity]
modules/configuration/src/main/java/org/apache/ignite/internal/configuration/rest/presentation/hocon/package-info.java [moved from modules/rest/src/main/java/org/apache/ignite/internal/rest/presentation/hocon/package-info.java with 92% similarity]
modules/configuration/src/main/java/org/apache/ignite/internal/configuration/rest/presentation/package-info.java [moved from modules/rest/src/main/java/org/apache/ignite/internal/rest/presentation/package-info.java with 93% similarity]
modules/configuration/src/test/java/org/apache/ignite/internal/configuration/rest/presentation/ConfigurationPresentationTest.java [moved from modules/rest/src/test/java/org/apache/ignite/internal/rest/presentation/ConfigurationPresentationTest.java with 97% similarity]
modules/page-memory/pom.xml
modules/rest-api/pom.xml [new file with mode: 0644]
modules/rest-api/src/main/java/org/apache/ignite/internal/rest/api/ErrorResult.java [moved from modules/rest/src/main/java/org/apache/ignite/internal/rest/ErrorResult.java with 97% similarity]
modules/rest-api/src/main/java/org/apache/ignite/internal/rest/api/RequestHandler.java [moved from modules/rest/src/main/java/org/apache/ignite/internal/rest/routes/RequestHandler.java with 89% similarity]
modules/rest-api/src/main/java/org/apache/ignite/internal/rest/api/RestApiHttpRequest.java [moved from modules/rest/src/main/java/org/apache/ignite/internal/rest/netty/RestApiHttpRequest.java with 97% similarity]
modules/rest-api/src/main/java/org/apache/ignite/internal/rest/api/RestApiHttpResponse.java [moved from modules/rest/src/main/java/org/apache/ignite/internal/rest/netty/RestApiHttpResponse.java with 98% similarity]
modules/rest-api/src/main/java/org/apache/ignite/internal/rest/api/RestHandlersRegister.java [new file with mode: 0644]
modules/rest-api/src/main/java/org/apache/ignite/internal/rest/api/Route.java [moved from modules/rest/src/main/java/org/apache/ignite/internal/rest/routes/Route.java with 96% similarity]
modules/rest-api/src/main/java/org/apache/ignite/internal/rest/api/Routes.java [new file with mode: 0644]
modules/rest-api/src/test/java/org/apache/ignite/internal/rest/api/RestApiHttpResponseTest.java [moved from modules/rest/src/test/java/org/apache/ignite/internal/rest/netty/RestApiHttpResponseTest.java with 95% similarity]
modules/rest/pom.xml
modules/rest/src/main/java/org/apache/ignite/internal/rest/RestComponent.java [new file with mode: 0644]
modules/rest/src/main/java/org/apache/ignite/internal/rest/netty/RestApiHandler.java
modules/rest/src/main/java/org/apache/ignite/internal/rest/routes/Router.java
modules/rest/src/main/java/org/apache/ignite/internal/rest/routes/SimpleRouter.java [new file with mode: 0644]
modules/rest/src/test/java/org/apache/ignite/internal/rest/routes/RouteTest.java
modules/runner/src/main/java/org/apache/ignite/internal/app/IgniteImpl.java
modules/runner/src/main/java/org/apache/ignite/internal/configuration/CoreDistributedConfigurationModule.java [moved from modules/api/src/main/java/org/apache/ignite/configuration/CoreDistributedConfigurationModule.java with 96% similarity]
modules/runner/src/main/java/org/apache/ignite/internal/configuration/CoreLocalConfigurationModule.java [moved from modules/api/src/main/java/org/apache/ignite/configuration/CoreLocalConfigurationModule.java with 94% similarity]
modules/runner/src/main/resources/META-INF/services/org.apache.ignite.internal.configuration.ConfigurationModule [moved from modules/api/src/main/resources/META-INF/services/org.apache.ignite.internal.configuration.ConfigurationModule with 84% similarity]
modules/runner/src/test/java/org/apache/ignite/internal/configuration/CoreDistributedConfigurationModuleTest.java [moved from modules/api/src/test/java/org/apache/ignite/configuration/CoreDistributedConfigurationModuleTest.java with 97% similarity]
modules/runner/src/test/java/org/apache/ignite/internal/configuration/CoreLocalConfigurationModuleTest.java [moved from modules/api/src/test/java/org/apache/ignite/configuration/CoreLocalConfigurationModuleTest.java with 96% similarity]
parent/pom.xml
pom.xml