Menu

#1315 LOG: Support DNs longer than 255 bytes

5.1.FC
fixed
nobody
None
enhancement
log
-
major
2016-08-04
2015-04-15
elunlen
No

Ticket [#191] will add generic support in OpenSAF for DNs longer than 255 bytes. Each individual OpenSAF service will also have to be adapted to support long DNs. LOG should have this feature since LOG is used by NTF and DN is part of a log record. Also applications may want to use long DNs in log records.

This ticket will also cover the long log stream name.

Related

Tickets: #1286
Tickets: #1315
Tickets: #1482
Tickets: #1898
Tickets: #191
Wiki: NEWS-5.1.0

Discussion

  • Vu Minh Nguyen

    Vu Minh Nguyen - 2015-11-03
    • status: unassigned --> assigned
    • assigned_to: Vu Minh Nguyen
    • Milestone: future --> 5.0.FC
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2016-02-16
    • Milestone: 5.0.FC --> future
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2016-06-08
    • status: assigned --> accepted
    • Milestone: future --> 5.1.FC
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2016-06-16

    Below items are what I would like to break the ticket down to smaller ones.
    The implementation order is from top to bottom. Means that, item (1) will be taken first.
    And when done implementation for each item, it will be sent out for review but not pushed until (1)->(5) are done.

    1) Add one new option -f <FILENAME> to saflogger tool when using with option -a <app stream DN>
    2) Update LOG agent (API) to support Long DN & RDN
    3) Replace all internal SaNameT with C++ string in LOGsv
    4) Replace NCS PATRICIA TREE with std::unordered_map as the limited key size of the tree is only up to 600 bytes.
    5) Create test cases
    6) Update documents (Readme & OpenSAF_LOG_PR.odt)

    For item (4), could consider to create a separate ticket.

     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2016-06-21

    First draft readme file.

     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2016-06-28

    Few update.

     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2016-07-01
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,3 @@
     Ticket [#191] will add generic support in OpenSAF for DNs longer than 255 bytes. Each individual OpenSAF service will also have to be adapted to support long DNs. LOG should have this feature since LOG is used by NTF and DN is part of a log record. Also applications may want to use long DNs in log records.
    +
    +This ticket will also cover the long log stream name.
    
     

    Related

    Tickets: #191

  • Vu Minh Nguyen

    Vu Minh Nguyen - 2016-07-01
    • status: accepted --> review
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2016-08-04
    • status: review --> fixed
    • assigned_to: Vu Minh Nguyen --> nobody
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2016-08-04

    changeset: 7837:dbe06451066d
    tag: tip
    user: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
    date: Mon Jul 04 10:05:02 2016 +0700
    summary: log: Readme files for long DN support [#1315]

    changeset: 7836:48509c29a992
    user: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
    date: Sat Jun 18 14:09:15 2016 +0700
    summary: log: create test cases and update logtest for long DN [#1315]

    changeset: 7835:5420d31c8a86
    user: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
    date: Thu Jun 23 13:24:41 2016 +0700
    summary: log: update logsv to support long DN [#1315]

    changeset: 7834:2ae8b99e3a32
    user: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
    date: Fri Jun 10 18:47:15 2016 +0700
    summary: log: update LOG agent to support Long DN & RDN [#1315]

    changeset: 7833:976ea1f647a7
    parent: 7831:a3946c6afedc
    user: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
    date: Thu Jun 09 14:14:32 2016 +0700
    summary: log: add one new option -f to saflogger tool [#1315]

     

    Related

    Tickets: #1315


Log in to post a comment.

MongoDB Logo MongoDB