<commit_before>/*
 * 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.model.scim2;

/**
 * Some needed Constants
 */
//TODO: remove unneeded constants
public interface Constants {

    String MEDIA_TYPE_SCIM_JSON = "application/scim+json";

    String SCIM1_CORE_SCHEMA_ID = "urn:scim:schemas:core:1.0";

    String USER_CORE_SCHEMA_ID = "urn:ietf:params:scim:schemas:core:2.0:User";
    String USER_CORE_SCHEMA_NAME = "User";
    String USER_CORE_SCHEMA_DESCRIPTION = "User Account";

    String USER_EXT_SCHEMA_ID = "urn:ietf:params:scim:schemas:extension:gluu:2.0:User";
    String USER_EXT_SCHEMA_NAME = "GluuUserCustomExtension";
    String USER_EXT_SCHEMA_DESCRIPTION = "Gluu User Custom Extension";

    String GROUP_CORE_SCHEMA_ID = "urn:ietf:params:scim:schemas:core:2.0:Group";
    String GROUP_CORE_SCHEMA_NAME = "Group";
    String GROUP_CORE_SCHEMA_DESCRIPTION = "Group";

    String FIDO_DEVICES_CORE_SCHEMA_ID = "urn:ietf:params:scim:schemas:core:2.0:FidoDevice";
    String FIDO_DEVICES_CORE_SCHEMA_NAME = "FidoDevice";
    String FIDO_DEVICES_CORE_SCHEMA_DESCRIPTION = "Fido Device";

    String BULK_REQUEST_SCHEMA_ID = "urn:ietf:params:scim:api:messages:2.0:BulkRequest";
    String BULK_RESPONSE_SCHEMA_ID = "urn:ietf:params:scim:api:messages:2.0:BulkResponse";

    String SERVICE_PROVIDER_CORE_SCHEMA_ID = "urn:ietf:params:scim:schemas:core:2.0:ServiceProviderConfig";

    String RESOURCE_TYPE_SCHEMA_ID = "urn:ietf:params:scim:schemas:core:2.0:ResourceType";

    String LIST_RESPONSE_SCHEMA_ID = "urn:ietf:params:scim:api:messages:2.0:ListResponse";

    String SEARCH_REQUEST_SCHEMA_ID = "urn:ietf:params:scim:schemas:core:2.0:SearchRequest";

    String ERROR_RESPONSE_URI = "urn:ietf:params:scim:api:messages:2.0:Error";

    String UTF8_CHARSET_FRAGMENT="; charset=utf-8";

    /**
     * The HTTP query parameter used in a URI to select specific SCIM
     * attributes.
     */
    String QUERY_PARAM_ATTRIBUTES = "attributes";
    String QUERY_PARAM_EXCLUDED_ATTRS = "excludedAttributes";

    int DEFAULT_COUNT = 0;
    int MAX_COUNT = 200;

    int MAX_BULK_OPERATIONS = 30;
    int MAX_BULK_PAYLOAD_SIZE = 3072000;  // 3 MB

}<commit_msg>Move constants from oxTrustConstants<commit_after>/*
 * 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.model.scim2;

/**
 * Some needed Constants
 */
//TODO: remove unneeded constants
public interface Constants {

    String MEDIA_TYPE_SCIM_JSON = "application/scim+json";

    String SCIM1_CORE_SCHEMA_ID = "urn:scim:schemas:core:1.0";

    String USER_CORE_SCHEMA_ID = "urn:ietf:params:scim:schemas:core:2.0:User";
    String USER_CORE_SCHEMA_NAME = "User";
    String USER_CORE_SCHEMA_DESCRIPTION = "User Account";

    String USER_EXT_SCHEMA_ID = "urn:ietf:params:scim:schemas:extension:gluu:2.0:User";
    String USER_EXT_SCHEMA_NAME = "GluuUserCustomExtension";
    String USER_EXT_SCHEMA_DESCRIPTION = "Gluu User Custom Extension";

    String GROUP_CORE_SCHEMA_ID = "urn:ietf:params:scim:schemas:core:2.0:Group";
    String GROUP_CORE_SCHEMA_NAME = "Group";
    String GROUP_CORE_SCHEMA_DESCRIPTION = "Group";

    String FIDO_DEVICES_CORE_SCHEMA_ID = "urn:ietf:params:scim:schemas:core:2.0:FidoDevice";
    String FIDO_DEVICES_CORE_SCHEMA_NAME = "FidoDevice";
    String FIDO_DEVICES_CORE_SCHEMA_DESCRIPTION = "Fido Device";

    String BULK_REQUEST_SCHEMA_ID = "urn:ietf:params:scim:api:messages:2.0:BulkRequest";
    String BULK_RESPONSE_SCHEMA_ID = "urn:ietf:params:scim:api:messages:2.0:BulkResponse";

    String SERVICE_PROVIDER_CORE_SCHEMA_ID = "urn:ietf:params:scim:schemas:core:2.0:ServiceProviderConfig";

    String RESOURCE_TYPE_SCHEMA_ID = "urn:ietf:params:scim:schemas:core:2.0:ResourceType";

    String LIST_RESPONSE_SCHEMA_ID = "urn:ietf:params:scim:api:messages:2.0:ListResponse";

    String SEARCH_REQUEST_SCHEMA_ID = "urn:ietf:params:scim:schemas:core:2.0:SearchRequest";

    String ERROR_RESPONSE_URI = "urn:ietf:params:scim:api:messages:2.0:Error";

    String UTF8_CHARSET_FRAGMENT="; charset=utf-8";

    /**
     * The HTTP query parameter used in a URI to provide a filter expression.
     */
    String QUERY_PARAM_FILTER = "filter";

    /**
     * The HTTP query parameter used in a URI to select specific SCIM
     * attributes.
     */
    String QUERY_PARAM_ATTRIBUTES = "attributes";
    String QUERY_PARAM_EXCLUDED_ATTRS = "excludedAttributes";

    /**
     * The HTTP query parameter used in a URI to sort by a SCIM attribute.
     */
    String QUERY_PARAM_SORT_BY = "sortBy";

    /**
     * The HTTP query parameter used in a URI to specify the sort order.
     */
    String QUERY_PARAM_SORT_ORDER = "sortOrder";

    /**
     * The HTTP query parameter used in a URI to specify the starting index for
     * page results.
     */
    String QUERY_PARAM_START_INDEX = "startIndex";

    /**
     * The HTTP query parameter used in a URI to specify the maximum size of a
     * page of results.
     */
    String QUERY_PARAM_COUNT = "count";

    int MAX_COUNT = 200;

    int MAX_BULK_OPERATIONS = 30;
    int MAX_BULK_PAYLOAD_SIZE = 3072000;  // 3 MB

}
{'fraction_non_alphanumeric': 0.10523343373493976, 'fraction_numerical': 0.018637048192771084, 'mean_word_length': 4.54014598540146, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7659087', 'n_tokens_mistral': 2040, 'n_tokens_neox': 1912, 'n_words': 357}