blob: 44ad52ab5a9896c93298321a1965f6e5b12ffd2f [file] [log] [blame]
Thomas Vachuskaa026be72015-12-07 16:00:37 -08001/*
2 * Copyright 2014-2015 Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package org.onosproject.rest.resources;
18
19import org.onlab.rest.AbstractWebApplication;
20
21import java.util.Set;
22
23/**
24 * Core REST APIs web application.
25 */
26public class CoreWebApplication extends AbstractWebApplication {
27
28 @Override
29 public Set<Class<?>> getClasses() {
30 return getClasses(ApiDocResource.class,
31 ApplicationsWebResource.class,
32 ComponentConfigWebResource.class,
33 NetworkConfigWebResource.class,
34 ClusterWebResource.class,
35 DevicesWebResource.class,
36 LinksWebResource.class,
37 HostsWebResource.class,
38 IntentsWebResource.class,
39 FlowsWebResource.class,
40 TopologyWebResource.class,
41 ConfigWebResource.class,
42 PathsWebResource.class,
43 StatisticsWebResource.class
44 );
45 }
46}