[ 
https://issues.apache.org/jira/browse/DIRAPI-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16403359#comment-16403359
 ] 

Emmanuel Lecharny edited comment on DIRAPI-312 at 3/25/18 8:04 AM:
-------------------------------------------------------------------

Started working on it, also refactored the number to reflect the project 
structure. Here are the number intervals for each project :
{noformat}
api-asn1-api                                      000 -   999

api-asn1-ber                                     1000 -  1999
        <>                                                       1000 -  1099
        actions                                          1100 -  1199
        grammar                                          1200 -  1299
        tlv                                                      1300 -  1399
        
api-dsml-engine                                  2000 -  2999

api-dsml-parser                                  3000 -  3999
        <>                                                       3000 -  3099
        actions                                          3100 -  3199
        request                                          3200 -  3299
        response                                         3300 -  3399

api-ldap-client-api                              4000 -  4999
        <>                                                       4000 -  4099
        api                                                      4100 -  4199
        template                                         4200 -  4299

api-ldap-codec-core                              5000 -  5999
        <>                                                       5000 -  5099
        actions                                          5100 -  5199
        api                                                      5200 -  5299
        controls                                         5300 -  5399
        osgi                                             5400 -  5499
        search                                           5500 -  5599

api-ldap-codec-standalone                6000 -  6999

api-ldap-extras-aci                              7000 -  7999

api-ldap-extras-codec                    8000 -  8999
        <>                                                       8000 -  8099
        controls                                         8100 -  8199
        extended                                         8200 -  8299
        intermediate                             8300 -  8399

api-ldap-extras-codec-api                9000 -  9999
        <>                                                       9000 -  9099
        controls                                         9100 -  9199
        extended                                         9200 -  9299
        intermediate                             9300 -  9399
        
api-ldap-extras-sp                              10000 - 10999

api-ldap-extras-trigger                 11000 - 11999

api-ldap-extras-util                    12000 - 12999

api-ldap-model                                  13000 - 13999
        <>                                                      13000 - 13099
        cursor                                          13100 - 13199
        entry                                           13200 - 13299
        filter                                                  13300 - 13399
        ldif                                                    13400 - 13499
        message                                         13500 - 13599
        name                                            13600 - 13699
        schema                                          13700 - 13899
        subtree                                         13900 - 13999
                                   
api-ldap-net-mina                               14000 - 14999

api-ldap-schema-converter               15000 - 15999

api-ldap-schema-data                    16000 - 16999

api-util                                                17000 - 17999
{noformat}


was (Author: elecharny):
Started working on it, also refactored the number to reflect the project 
structure. Here are the number intervals for each project :

{noformat}
api-asn1-api                                      000 -   999

api-asn1-ber                                     1000 -  1999
        <>                                                       1000 -  1099
        actions                                          1100 -  1199
        grammar                                          1200 -  1299
        tlv                                                      1300 -  1399
        
api-dsml-engine                                  2000 -  2999

api-dsml-parser                                  3000 -  3999
        <>                                                       3000 -  3099
        actions                                          3100 -  3199
        request                                          3200 -  3299
        response                                         3300 -  3399

api-ldap-client-api                              4000 -  4999
        <>                                                       4000 -  4099
        api                                                      4100 -  4199
        template                                         4200 -  4299

api-ldap-codec-core                              5000 -  5999
        <>                                                       5000 -  5099
        actions                                          5100 -  5199
        api                                                      5200 -  5299
        controls                                         5300 -  5399
        osgi                                             5400 -  5499
        search                                           5500 -  5599

api-ldap-codec-standalone                6000 -  6999

api-ldap-extras-aci                              7000 -  7999

api-ldap-extras-codec                    8000 -  8999
        <>                                                       8000 -  8099
        controls                                         8100 -  8199
        extended                                         8200 -  8299
        intermediate                             8300 -  8399

api-ldap-extras-codec-api                9000 -  9999
        <>                                                       9000 -  9099
        controls                                         9100 -  9199
        extended                                         9200 -  9299
        intermediate                             9300 -  9399
        
api-ldap-extras-sp                              10000 - 10999

api-ldap-extras-trigger                 11000 - 11999

api-ldap-extras-util                    12000 - 12999

api-ldap-model                                  13000 - 13999
        <>                                                      13000 - 13099
        cursor                                          13100 - 13199
        entry                                           13200 - 13299
        filter                                                  13300 - 13399
        ldif                                                    13400 - 13499
        message                                         13500 - 13599
        name                                            13600 - 13699
        schema                                          13700 - 13799
        subtree                                         13800 - 13899
                                   
api-ldap-net-mina                               14000 - 14999

api-ldap-schema-converter               15000 - 15999

api-ldap-schema-data                    16000 - 16999

api-util                                                17000 - 17999
{noformat}

> Add an explaination after the log error and message numbers
> -----------------------------------------------------------
>
>                 Key: DIRAPI-312
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-312
>             Project: Directory Client API
>          Issue Type: Improvement
>    Affects Versions: 1.0.0
>            Reporter: Emmanuel Lecharny
>            Priority: Major
>             Fix For: 2.0.0
>
>
> We have many error and message logs which are just numbers, like 
> {{ERR_12047}}. It would be better to use such a value : 
> {{ERR_12035_BAD_MODRDN_OPERATION}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to