/**
 * Copyright (C) 2015 Red Hat, Inc. (jbrazdil@redhat.com)
 *
 * Licensed 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.jboss.pnc.causeway.rest;


import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;

import java.util.HashSet;
import java.util.Set;


/**
 *
 * @author Jozef Mrazek &lt;jmrazek@redhat.com&gt;
 *
 */
@ApplicationPath("/rest")
public class ReportsRestActivator extends Application {

    @Override
    public Set<Class<?>> getClasses() {
        Set<Class<?>> resources = new HashSet<>();
        addProjectResources(resources);
        return resources;
    }

    /**
     * Add all JAX-RS classes here to get activated!
     * @param resources
     */
    public void addProjectResources(Set<Class<?>> resources) {
        resources.add(Root.class);
        resources.add(PncImportResourceEndpoint.class);
        resources.add(ImportEndpoint.class);
        resources.add(UntagEndpoint.class);
    }
}

@@ -782,16 +782,76 @@
 il.Set;%0A
+import org.jboss.pnc.causeway.rest.filter.MDCLoggingFilter;%0A
 %0A%0A/**%0A *
@@ -1502,20 +1502,67 @@
 int.class);%0A
+        resources.add(MDCLoggingFilter.class);%0A
     %7D%0A%7D%0A

Add MDCLoggingFilter to REST activator