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
KNOX-1789 - Refactor RemoteAliasService to use service loading #59
Conversation
gateway-server/src/main/java/org/apache/knox/gateway/services/CLIGatewayServices.java
Show resolved
Hide resolved
@@ -15,7 +15,7 @@ | |||
* See the License for the specific language governing permissions and | |||
* limitations under the License. | |||
*/ | |||
package org.apache.knox.gateway.security.impl; | |||
package org.apache.knox.gateway.services.security.impl; |
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.
Moved to match ZookeeperRemoteAliasService class package
8b4a9c8
to
e2c44e4
Compare
gateway-server/src/main/java/org/apache/knox/gateway/services/CLIGatewayServices.java
Show resolved
Hide resolved
gateway-server/src/main/java/org/apache/knox/gateway/services/DefaultGatewayServices.java
Show resolved
Hide resolved
Signed-off-by: Kevin Risden <krisden@apache.org>
Pushed change to update the comment. |
@moresandeep @lmccay @pzampino any thoughts on this PR? |
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.
LGTM, Kevin!
+1
…oading (apache#59) Change-Id: Iba479948ef20578a8b7fc5cb3718cbfadbcb495f Signed-off-by: Kevin Risden <krisden@apache.org> Signed-off-by: Kevin Risden <krisden@hortonworks.com>
What changes were proposed in this pull request?
The RemoteAliasService should use service loading to ensure make the RemoteAliasService extensible. Moved existing Zookeeper impl to its own class and loaded via service loading.
How was this patch tested?
mvn -T.5C verify -Ppackage,release