jongyoul commented on code in PR #4621: URL: https://github.com/apache/zeppelin/pull/4621#discussion_r1236475777
########## zeppelin-server/src/main/java/org/apache/zeppelin/server/RestApiApplication.java: ########## @@ -0,0 +1,59 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.zeppelin.server; + +import java.util.HashSet; +import java.util.Set; + +import javax.ws.rs.core.Application; + +import org.apache.zeppelin.rest.AdminRestApi; +import org.apache.zeppelin.rest.ClusterRestApi; +import org.apache.zeppelin.rest.ConfigurationsRestApi; +import org.apache.zeppelin.rest.CredentialRestApi; +import org.apache.zeppelin.rest.HeliumRestApi; +import org.apache.zeppelin.rest.InterpreterRestApi; +import org.apache.zeppelin.rest.LoginRestApi; +import org.apache.zeppelin.rest.NotebookRepoRestApi; +import org.apache.zeppelin.rest.NotebookRestApi; +import org.apache.zeppelin.rest.SecurityRestApi; +import org.apache.zeppelin.rest.SessionRestApi; +import org.apache.zeppelin.rest.ZeppelinRestApi; +import org.apache.zeppelin.rest.exception.WebApplicationExceptionMapper; + +public class RestApiApplication extends Application { + @Override + public Set<Class<?>> getClasses() { Review Comment: Moreover, the reason why I'm talking about Spring is that we will reduce our code by using Spring's predefined functions. It should be helpful when we verify our logic. I think we are now developing many things by ourselves. As a developer, I also like it personally. I, myself, feel like I'm a bit biased so please correct me if I went so far. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@zeppelin.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org