<commit_before>package net.nemerosa.ontrack.extension.ldap

import net.nemerosa.ontrack.model.security.AccountGroup
import net.nemerosa.ontrack.model.security.AccountGroupMapping
import net.nemerosa.ontrack.model.structure.ID

class LDAPMapping(id: ID, type: String, name: String, group: AccountGroup) : AccountGroupMapping(id, type, name, group) {
    companion object {
        @JvmStatic
        fun of(mapping: AccountGroupMapping): LDAPMapping {
            return LDAPMapping(
                    mapping.id,
                    mapping.type,
                    mapping.name,
                    mapping.group
            )
        }
    }
}<commit_msg>#763 Core model migration - `AccountGroupMapping` not inheritable<commit_after>package net.nemerosa.ontrack.extension.ldap

import net.nemerosa.ontrack.model.security.AccountGroup
import net.nemerosa.ontrack.model.security.AccountGroupMapping
import net.nemerosa.ontrack.model.structure.ID

class LDAPMapping(
        val id: ID,
        val type: String,
        val name: String,
        val group: AccountGroup
) {
    companion object {
        @JvmStatic
        fun of(mapping: AccountGroupMapping): LDAPMapping = LDAPMapping(
                mapping.id,
                mapping.type,
                mapping.name,
                mapping.group
        )
    }
}
{'fraction_non_alphanumeric': 0.08358433734939759, 'fraction_numerical': 0.002259036144578313, 'mean_word_length': 2.2896039603960396, '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': '6276629', 'n_tokens_mistral': 376, 'n_tokens_neox': 366, 'n_words': 74}