blob: b32174ec6600aae6ec958cfebe3693ca4fbb3226 [file] [log] [blame]
Sean Condon0e89bda2017-03-21 14:23:19 +00001/*
2 * Copyright 2017-present Open Networking Foundation
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
Sean Condon081290d2017-11-02 13:15:08 +000017package org.onosproject.cfm.rest;
Sean Condon0e89bda2017-03-21 14:23:19 +000018
19import java.util.Set;
20
21import org.onlab.rest.AbstractWebApplication;
Sean Condon081290d2017-11-02 13:15:08 +000022import org.onosproject.soam.rest.DmWebResource;
23import org.onosproject.soam.rest.LmWebResource;
Sean Condon0e89bda2017-03-21 14:23:19 +000024
25/**
26 * CFM REST API web application.
27 */
28public class CfmWebApplication extends AbstractWebApplication {
29 @Override
30 public Set<Class<?>> getClasses() {
31 return getClasses(
32 MdWebResource.class,
33 MaWebResource.class,
34 MepWebResource.class,
Sean Condon96b896d2017-12-11 12:44:29 -080035 DeviceMepWebResource.class,
Sean Condon0e89bda2017-03-21 14:23:19 +000036 DmWebResource.class,
37 LmWebResource.class);
38 }
39}