<commit_before>##########################################################
#
# Copyright (c) 2005, Southpaw Technology
#                     All Rights Reserved
#
# PROPRIETARY INFORMATION.  This software is proprietary to
# Southpaw Technology, and is not to be reproduced, transmitted,
# or disclosed in any way without written permission.
#
#
#

__all__ = ["Schema"]

from pyasm.common import Xml, Container, TacticException
from pyasm.search import Search, SObject, SearchType


SCHEMA_XML = {}

SCHEMA_XML['simple'] = '''<?xml version='1.0' encoding='UTF-8'?>
<schema parent="__NONE__">
</schema>
'''

SCHEMA_XML['admin'] = '''<?xml version='1.0' encoding='UTF-8'?>
<schema parent="__NONE__">
    <search_type name="sthpw/project"/>
    <search_type name="sthpw/project_type"/>
    <search_type name="sthpw/schema"/>
    <search_type name="sthpw/db_resource"/>

    <search_type name="sthpw/search_object"/>
    <search_type name="sthpw/snapshot"/>
    <search_type name="sthpw/file"/>


   
    <search_type name="sthpw/custom_script"/>
    <search_type name="sthpw/task"/>
    <search_type name="sthpw/milestone"/>
    <search_type name="sthpw/work_hour"/>
    <search_type name="sthpw/note" access="view"/>

    <search_type name="sthpw/login" display="@GET(sthpw/login.login)"/>
    <search_type name="sthpw/login_group" display="@GET(sthpw/login_group.login_group)"/>
    <search_type name="sthpw/login_in_group" display="@GET(sthpw/login_in_group.login)"/>

    <search_type name="sthpw/department"/>
    <search_type name="sthpw/connection"/>
    <search_type name='sthpw/pref_list'/>

    <search_type name='sthpw/wdg_settings'/>
    <search_type name='sthpw/ticket'/>
    <search_type name="sthpw/doc"/>

    <search_type name="sthpw/pipeline"/>
    <search_type name="sthpw/trigger"/>
    <search_type name="sthpw/notification"/>
    <search_type name="sthpw/sobject_list"/>

    <search_type name="sthpw/translation"/>

    <search_type name="sthpw/transaction_log"/>
    <search_type name="sthpw/exception_log"/>
    <search_type name="sthpw/status_log"/>
    <search_type name="sthpw/sobject_log"/>
    <search_type name="sthpw/retire_log"/>
    <search_type name="sthpw/notification_log"/>
    <search_type name="sthpw/group_notification" display="@GET(sthpw/group_notification.login_group)"/>
    <search_type name="sthpw/cache"/>
    <search_type name="sthpw/queue"/>
    <search_type name="sthpw/watch_folder"/>
    <search_type name="sthpw/message"/>
    <search_type name="sthpw/message_log"/>
    <search_type name="sthpw/subscription"/>



<!--
    <search_type name='sthpw/template'/>
-->


    <connect to="sthpw/project_type" from="sthpw/project" type='hierarchy' relationship="code" from_col='type'/>

    <connect from="sthpw/project" to="sthpw/db_resource" from_col="db_resource" relationship="code"/>

<commit_msg>adding dot operation between notification_log and notification_login<commit_after>##########################################################
#
# Copyright (c) 2005, Southpaw Technology
#                     All Rights Reserved
#
# PROPRIETARY INFORMATION.  This software is proprietary to
# Southpaw Technology, and is not to be reproduced, transmitted,
# or disclosed in any way without written permission.
#
#
#

__all__ = ["Schema"]

from pyasm.common import Xml, Container, TacticException
from pyasm.search import Search, SObject, SearchType


SCHEMA_XML = {}

SCHEMA_XML['simple'] = '''<?xml version='1.0' encoding='UTF-8'?>
<schema parent="__NONE__">
</schema>
'''

SCHEMA_XML['admin'] = '''<?xml version='1.0' encoding='UTF-8'?>
<schema parent="__NONE__">
    <search_type name="sthpw/project"/>
    <search_type name="sthpw/project_type"/>
    <search_type name="sthpw/schema"/>
    <search_type name="sthpw/db_resource"/>

    <search_type name="sthpw/search_object"/>
    <search_type name="sthpw/snapshot"/>
    <search_type name="sthpw/file"/>


   
    <search_type name="sthpw/custom_script"/>
    <search_type name="sthpw/task"/>
    <search_type name="sthpw/milestone"/>
    <search_type name="sthpw/work_hour"/>
    <search_type name="sthpw/note" access="view"/>

    <search_type name="sthpw/login" display="@GET(sthpw/login.login)"/>
    <search_type name="sthpw/login_group" display="@GET(sthpw/login_group.login_group)"/>
    <search_type name="sthpw/login_in_group" display="@GET(sthpw/login_in_group.login)"/>

    <search_type name="sthpw/department"/>
    <search_type name="sthpw/connection"/>
    <search_type name='sthpw/pref_list'/>

    <search_type name='sthpw/wdg_settings'/>
    <search_type name='sthpw/ticket'/>
    <search_type name="sthpw/doc"/>

    <search_type name="sthpw/pipeline"/>
    <search_type name="sthpw/trigger"/>
    <search_type name="sthpw/notification"/>
    <search_type name="sthpw/sobject_list"/>

    <search_type name="sthpw/translation"/>

    <search_type name="sthpw/transaction_log"/>
    <search_type name="sthpw/exception_log"/>
    <search_type name="sthpw/status_log"/>
    <search_type name="sthpw/sobject_log"/>
    <search_type name="sthpw/retire_log"/>
    <search_type name="sthpw/notification_log"/>
    <search_type name="sthpw/notification_login" />    
    <connect from="sthpw/notification_login" to="sthpw/notification_log" relationship='id' from_col='notification_log_id'/>
    <search_type name="sthpw/group_notification" display="@GET(sthpw/group_notification.login_group)"/>
    <search_type name="sthpw/cache"/>
    <search_type name="sthpw/queue"/>
    <search_type name="sthpw/watch_folder"/>
    <search_type name="sthpw/message"/>
    <search_type name="sthpw/message_log"/>
    <search_type name="sthpw/subscription"/>



<!--
    <search_type name='sthpw/template'/>
-->


    <connect to="sthpw/project_type" from="sthpw/project" type='hierarchy' relationship="code" from_col='type'/>

    <connect from="sthpw/project" to="sthpw/db_resource" from_col="db_resource" relationship="code"/>


{'fraction_non_alphanumeric': 0.17546819638940442, 'fraction_numerical': 0.0033743883921039312, 'mean_word_length': 4.777777777777778, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 4, '>': 101, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '736707', 'n_tokens_mistral': 2068, 'n_tokens_neox': 2006, 'n_words': 327}