/*
 * oxTrust is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
 *
 * Copyright (c) 2014, Gluu
 */

package org.gluu.oxtrust.service;

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

import javax.ws.rs.core.Application;
import javax.ws.rs.ext.Provider;

import org.gluu.oxtrust.ws.rs.scim2.BulkWebService;
import org.gluu.oxtrust.ws.rs.scim2.GroupWebService;
import org.gluu.oxtrust.ws.rs.scim2.ResourceTypeWS;
import org.gluu.oxtrust.ws.rs.scim2.SchemaWebService;
import org.gluu.oxtrust.ws.rs.scim2.ServiceProviderConfigWS;
import org.gluu.oxtrust.ws.rs.scim2.UserWebService;

/**
 * Integration with Resteasy
 *
 * @author Yuriy Movchan
 * @version June 6, 2017
 */
@Provider
public class TestResteasyInitializer extends Application {

    @Override
    public Set<Class<?>> getClasses() {
        HashSet<Class<?>> classes = new HashSet<Class<?>>();
        classes.add(GroupWebService.class);
        classes.add(UserWebService.class);
        classes.add(BulkWebService.class);
        classes.add(ResourceTypeWS.class);
        classes.add(SchemaWebService.class);
        classes.add(ServiceProviderConfigWS.class);

        return classes;
    }

}
@@ -179,24 +179,79 @@
 service;%0D%0A%0D%0A
+import org.gluu.oxtrust.ws.rs.scim2.UserWebService;%0D%0A%0D%0A
 import java.
@@ -265,16 +265,16 @@
 shSet;%0D%0A
-
 import j
@@ -368,340 +368,8 @@
 %0D%0A%0D%0A
-import org.gluu.oxtrust.ws.rs.scim2.BulkWebService;%0D%0Aimport org.gluu.oxtrust.ws.rs.scim2.GroupWebService;%0D%0Aimport org.gluu.oxtrust.ws.rs.scim2.ResourceTypeWS;%0D%0Aimport org.gluu.oxtrust.ws.rs.scim2.SchemaWebService;%0D%0Aimport org.gluu.oxtrust.ws.rs.scim2.ServiceProviderConfigWS;%0D%0Aimport org.gluu.oxtrust.ws.rs.scim2.UserWebService;%0D%0A%0D%0A
 /**%0D
@@ -647,24 +647,80 @@
 ass%3C?%3E%3E();%0D%0A
+        classes.add(UserWebService.class);%0D%0A        /*%0D%0A
         clas
@@ -756,52 +756,8 @@
 );%0D%0A
-        classes.add(UserWebService.class);%0D%0A
     
@@ -939,16 +939,18 @@
 lass);%0D%0A
+*/
 %0D%0A      

Disable services except Userwebservice temporarily